Docs Menu
Docs Home
/
MongoDB Ops Manager
/ /

Add CA Certificate to Ops Manager Java Trust Store

On this page

  • Prerequisites
  • Add CA Cert to Ops Manager Java Truststore

In order to connect a webhook to Ops Manager with HTTPS, you'll need to import your CA certificate into the Ops Manager Java Trust Store.

  • Have an accessible Ops Manager deployment

1

After adding the absolute path to your webhook trust store to the following command, run it to add your CA certificate to the Ops Manager Java trust store.

sudo /opt/mongodb/mms/jdk/bin/keytool -noprompt -storepass changeit -import -trustcacerts -alias Webhook_CA -file <AbsolutePathofWebhookTrustStore> -keystore /opt/mongodb/mms/jdk/lib/security/cacerts
2

Run the following command to confirm that the CA certificate has been added successfully.

sudo /opt/mongodb/mms/jdk/bin/keytool -noprompt -storepass changeit -list -v -keystore /opt/mongodb/mms/jdk/lib/security/cacerts | grep -i Webhook_CA
3

After adding your webhook URL to the following command, run it to test your webhook's HTTPS connectivity with Ops Manager.

sudo curl -vvvv -cacert /opt/mongodb/mms/jdk/lib/security/cacerts <WebhookURL>
← Manage Custom Roles