Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Given below are the steps to import the certificate in trust store:

The certificates need to be imported into the JVM trust store as well.

  1. Copy the CA (root) certificate to the directory $JAVA_HOME/jre/lib/security

  2. Change directory to $JAVA_HOME/jre/lib/security

  3. Import the certificate in trust store using the following command:

    Code Block
    $ keytool -import -alias <certificate_alias> \
              -file <certificate_file.cer> \
              -keystore cacerts \
              -storepass changeit
    
  4. On importing, restart the OpenSpecimen server/process.