Previous Topic: Example: Create a Self-Signed CertificateNext Topic: Configure CA GovernanceMinder for SSL Communication


Add the Digital Certificate to the Keystore

Before you can configure CA GovernanceMinder to use SSL communication, you export and import the digital certificate to the keystore.

This procedure does the following:

Follow these steps:

  1. Stop JBoss if it is running. Do one of the following:
  2. Export and import the digital certificate as follows:
    1. On a system where the Portal is installed, open a Command Prompt window and navigate to the following directory:
      C:\Program Files\Java\jdk1.6_23\bin
      
    2. To export, enter the following command:
      "%JAVA_HOME%\bin\keytool" -v -export -alias serverkeys -keystore "C:\Program Files\CA\RCM\Server\eurekify-jboss\server\eurekify\conf\server.keystore" -storepass password -file example.cer
      

      The digital certificate is exported.

    3. To import, enter the following command:
      "%JAVA_HOME%\bin\keytool" -v -import -keystore "%JAVA_HOME%\jre\lib\security\cacerts" -storepass password -file example.cer
      

      The digital certificate is imported.

  3. Copy the example.cer file to the following JDK security folder:
    C:\Program Files\Java\jdk1.6_23\jre\lib\security
    
  4. Add the certificate to a local cryptographic APJ store as follows:
    1. Locate and double click on the example.cer file.

      A Certificate window displays.

    2. In the General tab, click Install Certificate.

      A Certificate Import Wizard displays.

    3. Complete the prompts as required and click Finish.

      A successful window displays when complete.

    The digital certificate is added to the keystore.