title: Tomcat/Spring SSL configuration
body: <p>I'm trying to configure my Spring application to use an SSL certificate I purchased from a CA. I followed the directions for the <a href="http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html" rel="nofollow">Tomcat 6.0 configuration</a> and have imported the key into my Tomcat keystore and uncommented the SSL connector in the server.xml. When I start Tomcat, I see the connector start on port 8443 in the Tomcat logs, but when I go to <a href="https://example.com:8443" rel="nofollow">https://example.com:8443</a> or http: //example.com:8443 or https: //example.com (without the spaces - I don't have the reputation to post links), it times out. What other configuration do I need to do to enable SSL for my Spring application. Do I have to change the application configuration?</p>
  
  <p>I'd also like to only have some URLs over SSL (login, edit profile, etc.). How can I allow this in the Spring configuration? If I have to have all URLs accessible over SSL, that would be ok, but not desirable. I haven't found any tutorials that are Spring specific.</p>