Quote:
Originally Posted by whositwhatnow
I'm having a heck of a time getting SSL to work with tomcat6. tomcat6 is installed, apache. port 8080 working no problem.
I have my own SSL certs already set. I want to be able to use port 8443 as my tomcat ssl connection.
now i've uncommented the section in my server.xml
<Connector port="8443" protocol="HTTP/1.1"
SSLEnabled="true"
maxThreads="150"
scheme="https" secure="true"
clientAuth="false"
sslProtocol="TLS"/>
I'm missing something cause its not working. Notes for tomcat are confusing i've reda online there are so many ways people are doing it. I want to use the http option.
|
You're missing the keystore. See this
article. If you put your ssl keystore in the {tomcat.home}/conf directory then your definition would look like this
Code:
<Connector port="8443" protocol="HTTP/1.1"
SSLEnabled="true"
maxThreads="150"
scheme="https" secure="true"
clientAuth="false"
sslProtocol="TLS"
keystoreFile="conf/mykeystore.keystore"
keystorePass="changeit"
/>