title: How can I test if Tomcat has SSL support enabled?
body: <p>I have a problem: I'm configuring a Tomcat server to serve a webservice through HTTPS, and it isn't working.</p>
  
  <p>If I go to the 38080 port, the service is working perfectly, but if I go to the 8443 port (using the https prefix), the browser shows me an error message (The page can't be shown).</p>
  
  <p>The server is a Windows 2008 R2, Tomcat is 6.0.35 and Java is 1.6.0_29.</p>
  
  <p>The SSL content of the <code>server.xml</code> file is:</p>
  
  <pre><code>&lt;Connector port="8443" SSLEnabled="true" protocol="org.apache.coyote.http11.Http11NioProtocol"
             maxThreads="150" scheme="https" secure="true" keyAlias="server" 
             keystoreFile="${catalina.base}\conf\test-keystore.jks" 
             keypass="patata"
             clientAuth="false" sslProtocol="TLS" /&gt;
  </code></pre>
  
  <p>The file <code>test-keystore.jks</code> is a self-generated keystore, based on the documentation at <a href="https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html" rel="nofollow">https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html</a>. The order used was: <code>keytool -genkey -alias tomcat -keyalg RSA -keystore test-keystore.jks</code>.</p>
  
  <p>Anyone knows what I'm doing wrong, and how to solve this problem?</p>
  
  <p><strong>MORE INFORMATION</strong>
  The logs doesn't show any error. Neither stdout or the ${catalina.base}/logs/manager-{date}.log or the ${catalina.base}/logs/localhost-{date}.log</p>