Call us: 0207 060 3775

SSL 247 are authorised strategic resellers of Verisign,GlobalSign, Geotrust and RapidSSL products

 


Just a few satisfied SSL247 customers.

Contact Sales



 

Need multiple certificates? Buy in bulk and save £££s. Click Here to find out more

Jakarta-Tomcat

Installing your SSL Certificate / Web Server Certificate / Secure Server Certificate from ssl247.co.uk

Firstly when your issuance email arrives you will have two certificates in the email - your server certificate and a ChainedSSL CA certificate.

Copy the ChainedSSL CA certificate into a text editor such as notepad and save as chain.pem.
Copy your web server certificate into a text editor such as notepad and save as yourdomain.pem.
Copy the root CA certificate found at the bottom of this page into a text editor and save as root.pem.

The following certificate installations must be executed in the stated order.

  1. Import the "Root Certificate" using the following command:

    $JAVA_HOME/bin/keytool -import -trustcacerts -alias root -keystore /path/to/domainname.kdb -file root.pem


  2. Import the "Root Certificate" using the following command:

    $JAVA_HOME/bin/keytool -import -trustcacerts -alias chainedsslca -keystore /path/to/domainname.kdb -file chain.pem

  3. Import the "Server Certificate" using the following command:

    $JAVA_HOME/bin/keytool -import -trustcacerts -alias ??? -keystore /path/to/domainname.kdb -file domainname.pem

    Note: Replace ??? with the alias specified when creating the CSR.


A confirmation that the certificate has been added to the keystore will then be presented.

Update server.xml configuration file:

  1. Open "$JAKARTA_HOME/conf/server.xml" in a text editor.
  2. Find the following section:

    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0" scheme="https" secure="true">
    <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
    clientAuth="false" protocol="TLS"
    keystoreFile="tomcat.kdb"
    keystorePass="password"/>

  3. If you want Tomcat to use the default SSL port, change all instances of the port number 8443 to 443.

  4. Add the keystoreFile and keystorePass directives to correspond with the keystore file and password that you are using.

  5. Start or restart Tomcat using the appropriate startup script (startup.sh for unix/linux or startup.bat for windows)


Root CA Certificate

-----BEGIN CERTIFICATE-----
MIIDwDCCAqigAwIBAgIEAIWUoDANBgkqhkiG9w0BAQQFAD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