We accept |
|
|
|
|
|
| |
 |
|
 |
| Installing your SSL Certificate/Web Server Certificate / Secure Server Certificate from RapidSSL.com |
 |
| Jakarta-Tomcat & Other Java Based Web Servers |
 |
|
Firstly when your issuance email arrives your server certificate will be contained within the email. You must first export the certificate in der format as follows: |
| 1. |
Copy your web server certificate into a text editor such as notepad and save as yourdomain.cer on a Windows machine with IE 5+. |
| 2. |
Copy this root CA certificate into a text editor and save as root.cer on a Windows machine with IE 5+. |
| 3. |
Double-click the root.cer and select the Details tab, then Copy to File, then select the Base-64 option, give your copied certificate a file name of root_der.cer |
4. |
Double click the youdomain.cer and select the Details tab, then Copy to File, then select the PKCS#7 (p7b) option, also select the Include all certificates in the certification path, give your copied certificate a file name of yourdomain.p7b |
|
The following certificate installations must be executed in the stated order. |
| 1. |
Import the root_der.cer files using:
$ keytool -import -trustcacerts -keystore my.kdb -alias root - file root_der.cer
With my.kdb being your keystore.
|
| 2. |
Import the yourdomain.p7b file using:
keytool -import -trustcacerts -keystore my.kdb -alias tomcat -file yourdomain.p7b
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) |
|
|
|
| |
 |