# Using SSL for Apache Tomcat on a 64 bit OS

Version 2

Using SSL for Apache Tomcat on a 64 bit OS

Assumptions:

This assumes that the reader has already gone through and is familiar with the steps outlined in the Avalanche 5.3 User Guide. Specifically the section pertaining to SSL Certificates for the Web Console (page 206 of the User Guide)

Environment:

64 bit OS

Avalanche 5.3

SSL Enabled

Problem:

After enabling SSL for Apache Tomcat, the WebConsole times out, and does not load.

In Catalina logs there will be the following error message

SEVERE: Failed to load keystore type JKS with path C:\Program Files\Wavelink\AvalancheMC\JRE\bin\amckeystore.keystore due to C:\Program Files\Wavelink\AvalancheMC\JRE\bin\amckeystore.keystore (The system cannot find the path specified)

java.io.FileNotFoundException: C:\Program Files\Wavelink\AvalancheMC\JRE\bin\amckeystore.keystore (The system cannot find the path specified)

Workaround:

The problem is that the path should be looking for Program Files (x86), but is incorrectly looking in Program Files. And it is likely that this information was just copied over from the User's Guide. When you are going to past in the the information for Connector Port 8443 make sure that you change the path to point to Program Files (X86)

IE:

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:\Program Files (x86)\Wavelink\AvalancheMC\JRE\bin\selfsignkeystore.keystore" keystorePass="[keypass]"/>