Translate

Friday, April 15, 2016

Tomcat - Update SSL certificate

I spent the day updating the server certificate with new certificates from Godaddy to provide a more secure connection to the site. Adding the new cert to IIS was a snap but adding it to Tomcat just wasn't working. I was finally able to get it to work by following the information located here. Basically I just exported the certificate from the certificate store on the IIS server as a pfx file.

My connector setting in the Tomcat server.xml file:

<Connector port="8443" connectionLinger="20000" connectionTimeout="60000" protocol="HTTP/1.1" keystoreType="PKCS12" keystorePass="youwish" keystoreFile="webapps/iis_export.pfx" sslProtocol="TLS" clientAuth="false" disableUploadTimeout="true" enableLookups="true" secure="true" scheme="https" maxThreads="150" SSLEnabled="true"/>