Ask a Question

Import SSL Web Server Certificate into Jetty Java HTTP Servlet Web Server

Problem

Install certificate
Import Certificate into Jetty Java HTTP Servlet Web Server

Solution

To install your SSL Web Server certificate on a Java server, perform the following steps:

Step1. Download your Thawte certificate
 
1. You will receive an email when your certificate is issued.
 
2. Download your certificate as per the instruction on the following solution: SO13187
 
3. Select the 'PKCS#7' format option and click Pick Up certificate.

4. Copy and Paste your Thawte certificate to Notepad and save as a certificate.txt
 

Step2.  Import the SSL Web Server Certifcate into the Keystore:

keytool -import -trustcacerts -file [cert_file_name_here] -keystore [keystore_name_here] -alias [keyentry_name_here]

 Enable SSL Port:

The SSL Port needs to be enabled on Jetty Java HTTP Servlet Web Server as well as on any firewall/s or router/s in place.