Importing the Certificate

FlexNet Code Insight 6.14.0

The following is a procedure for importing the SSL certificate into the keystore that you created in Creating the Keystore.

To import the SSL certificate into the keystore, do the following:

1. From DOS or Linux, enter the following command to import the SSL certificate into the keystore:

keytool -import -trustcacerts -alias myKey -file myCertificate.p7b -keystore myKeystore.jks

Provide the following parameters in the command:

myKey—The alias that you created for the private key (the certificate entry) that you are importing into the keystore (created in Purchasing and Importing a Secure Site SSL Certificate).
myCertificate—The file name (including the .p7b extension) for the certificate you received from the Certificate Authority. Provide the path if the you are not running the command from the directory in which the certificate resides.
myKeystore—The file name for the keystore that you created in Purchasing and Importing a Secure Site SSL Certificate. Provide the path if the you are not running the command from the directory in which the keystore resides.
2. If additional certificates are required, import them using the following command:

keytool -import -trustcacerts -file certificateFile -keystore myKeystore.jks

where you provide the following for each certificate:

certificateFile—The file name (including the .p7b extension) for the certificate you received from the Certificate Authority. Provide the path if the you are not running the command from the directory in which the certificate resides.
myKeystore—The file name for the keystore that you created in Purchasing and Importing a Secure Site SSL Certificate. Provide the path if the you are not running the command from the directory in which the keystore resides.
3. Copy the keystore to the fnciInstallPath/tomcat directory. (The keystore is configured in the server.xml file, as described in Enabling an HTTPS Connection.)