Skip to content

Commit 12cffa2

Browse files
authored
(DOCSP-16851) [OM] Fix curl command bug in Add CA Certificate to Ops Manager Java Trust Store-v8.0-backport (747) (#832)
# Backport This will backport the following commits from `master` to `v8.0`: - [(DOCSP-16851) [OM] Fix curl command bug in Add CA Certificate to Ops Manager Java Trust Store (#747)](10gen/docs-ops-manager#747) <!--- Backport version: 9.6.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport)
1 parent e89f449 commit 12cffa2

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

source/includes/steps-add-ca-cert-to-om-truststore.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,19 @@ ref: add-credentials-automation-click-credentials
4646
title: "Test an HTTPS request to Ops Manager to confirm connectivity."
4747
content: |
4848
49-
After adding your webhook URL to the following command,
50-
run it to test your webhook's HTTPS connectivity with Ops Manager.
49+
a. Convert your Java keystore file into PEM format.
5150
52-
.. code-block:: sh
51+
Java keystores are stored in either JKS (Java KeyStore) or PKCS12 format. These formats
52+
are incompatible with the curl ``--cacert`` option.
53+
54+
Use a tool of your choosing, such as ``openssl``, to convert your Java keystore file.
55+
56+
#. Replace the placeholder text in the following command with the path to your PEM certificate
57+
and your webhook URL:
58+
59+
.. code-block:: sh
5360
54-
sudo curl -vvvv -cacert /opt/mongodb/mms/jdk/lib/security/cacerts <WebhookURL>
61+
sudo curl -vvvv --cacert </path/to/cacerts.pem> <WebhookURL>
5562
63+
#. Run the command to test your webhook's HTTPS connectivity with Ops Manager.
5664
...

0 commit comments

Comments
 (0)