/
Importing certificates into JVM trust store
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Importing certificates into JVM trust store

OpenSpecimen connects to external servers like REDCap, OpenClinica to import clinical data, LDAP directories to authenticate users etc. If the certificate of these external servers is signed by a CA whose certificate is not present in the trust store by default then those CA certificates need to be installed in the trust store.

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

  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:

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

Related content

Import the certificates into Tomcat (JVM)
Import the certificates into Tomcat (JVM)
More like this
SAML Configuration
SAML Configuration
Read with this
Testing LDAP Configuration
Testing LDAP Configuration
More like this
How to build OpenSpecimen plugin jar?
How to build OpenSpecimen plugin jar?
More like this
Deployment steps
Deployment steps
More like this
How to build from source code?
How to build from source code?
More like this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com