Wednesday, May 11, 2011

Installing SSL certificate in Apache Tomcat 6.0

Take the following steps to install the SSL certificate in Apache Tomat 6.0:

1. Stop the Apache Tomcat 6.0 service from the Services applet located under Control Panel.
2. Go to the following directory:
  [Apache Tomcat 6.0 Install Directory]\Tomcat 6.0\conf
3. Open the file "Server.xml" in any text editor
4. Locate the following snippet:


5. Uncomment the "Connector" tag
6. If you have the certificate key store file then the block should look like the following screenshot

7. If however you have the certificate and certificate key file then the block should look like the following screenshot

8. Save the file.
9. Start the Apache Tomcat 6.0 service, now you should be able to access the URLs over HTTPS.



No comments: