You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Gadhiraju, Satish" <Sa...@ally.com> on 2014/11/11 18:10:21 UTC
Need help with Tomcat SSL setup
Hi, I am new to tomcat. I have installed tomcat binaries and created one stand alone instance.
Tomcat is working fine with http port, I get the message It works.
But when I try to access with https port I am getting page cannot be found.
Below is what I did
./keytool -genkey -alias tomcat -keyalg RSA -keystore /apps/tomcat.jks
Added in server.xml
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="/apps/tomcat.jks"
keystoreType="JKS"
keystorePass="changeit"
keyPass="changeit" />
please let me know what is wrong.
Thanks
Satish
Re: Need help with Tomcat SSL setup
Posted by Konstantin Kolinko <kn...@gmail.com>.
2014-11-11 20:10 GMT+03:00 Gadhiraju, Satish <Sa...@ally.com>:
> Hi, I am new to tomcat. I have installed tomcat binaries and created one stand alone instance.
> Tomcat is working fine with http port, I get the message It works.
> But when I try to access with https port I am getting page cannot be found.
> Below is what I did
>
> ./keytool -genkey -alias tomcat -keyalg RSA -keystore /apps/tomcat.jks
>
> Added in server.xml
>
> <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
> maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS"
> keystoreFile="/apps/tomcat.jks"
> keystoreType="JKS"
> keystorePass="changeit"
> keyPass="changeit" />
>
>
> please let me know what is wrong.
1. Did you restart Tomcat after editing its configuration file?
2. What is in Tomcat logs?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org