On Fri, Apr 17, 2009 at 09:13:52AM +0100, Ruth Anjo wrote:
> Please, I cant create a "self-signed" certificate for testing my web
> browser. i have tried this command
> 
> $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keysize 1024
> -keystore %CATALINA_BASE%/conf/keystore -storepass changeit -validity
> 365

That looks like a mixture of Unix and Windows usage.  Since keytool
ran, you must be on a Unix-like OS because the shell recognized
'$JAVA_HOME' as a variable substitution.  That means that the
Windows-style '%CATALINA_BASE%' substitution is meaningless to the
shell and would be interpreted literally.

Try using $CATALINA_BASE instead.  If you get the same error, but
$CATALINA_BASE has disappeared, then your shell environment doesn't
have CATALINA_BASE defined, so you should just manually replace
'$CATALINA_BASE' with the path to the Tomcat installation and try again.

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Friends don't let friends publish revisable-form documents.

Attachment: pgppD2xZ1EnkK.pgp
Description: PGP signature

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to