Home | SSL Certificate Products | FAQ | Support | Resellers | International | About Us | News | Contact Us |
Jakarta-Tomcat & Other Java Based Web Servers
Installing your SSL Certificate / Web Server Certificate / Secure Server Certificate from RapidSSL.com
Firstly when your issuance email arrives your server certificate will be contained within the email.
The following certificate installations must be executed in the stated order.
1. Import the starterssl_02.cer files using:
$ keytool -import -trustcacerts -keystore my.kdb -alias root - file starterssl_02.cer
Download starterssl_02.cer http://www.rapidssl.com/cps/starterssl_02.cer
With my.kdb being your keystore.
2. Import the yourdomain.cer file using:
keytool -import -trustcacerts -keystore my.kdb -alias tomcat -file yourdomain.cer
With my.kdb being your keystore.
Update server.xml configuration file:
1. Open "$JAKARTA_HOME/conf/server.xml" in a text editor.
2. Find the following section:
- <!--
Define a SSL Coyote HTTP/1.1 Connector on port 8443
-->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true"><Factory
className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false"
protocol="TLS"
keystoreFile="my.kdb"
keystorePass="YOUR_KEYSTORE_PASSWORD" /></Connector>
3. If you want Tomcat to use the default SSL port, change all instances of the port number 8443 to 443.
4. Start or restart Tomcat using the appropriate startup script (startup.sh for unix/linux or startup.bat for windows)