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:
Copy the CA (root) certificate to the directory
Change directory to
Import the certificate in trust store using the following command:
$ keytool -import -alias <certificate_alias> \
-file <certificate_file.cer> \
-keystore cacerts \
On importing, restart the OpenSpecimen server/process.