I have read many of the previous post regarding this on stack overflow and I still can't figure this out.
I installed Tomcat 7.0 on Windows 7, with an installer, and would like to change port 8443
to 443, but before doing that I understood from my previous question on this forum that I
need to set up a certificate to get port 8443 working before thinking of changing it to
port 443.
This step by step guide http://www.mulesoft.com/tomcat-ssl should be adequate but I am
really confused about this %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA do I
need to type this into "cmd" when I did it says "the system cannot find the path", so I
tried with
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA \ -keystore /path/to/my/keystore(Windows)
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA \ -keystore /Program Files/Apache Software Foundation/Tomcat 7.0/conf
Still no luck.
I have java 1.7 64bit on my PC
This is really my first time configuring Tomcat, thanks for understanding
keytool
but in understanding what the notation in the documents you've read (especially withcmd
).%JAVA_HOME%
(equiv. to$JAVA_HOME
on Unix) is an abstraction for the JRE home directory which you could set up as an environment variable or type in yourself. Path on the Windows command line tend to use back-slashes (\
), not slashes (/
). – Bruno