Skip to content

File tree

3 files changed

+71
-1
lines changed

3 files changed

+71
-1
lines changed

source/includes/list-tables/third-party-integration-settings-ui.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
for programmatic processing. |mms| sends an alert as an |http|
135135
POST request in which the request body contains a |json|
136136
document that uses the same format as the |mms| |api|
137-
:doc:`Alerts resource </reference/api/alerts>`.
137+
:doc:`Alerts resource </reference/api/alerts>`.
138138

139139
.. include:: /includes/facts/alert-webhook-mms-event-header.rst
140140

@@ -145,6 +145,9 @@
145145
to the :authrole:`Project Owner` and eventually removes the
146146
Webhook settings.
147147

148+
If your webhook requires HTTPS, you must
149+
:ref:`import import your CA certificate into the Ops Manager trust store <add-ca-cert-to-om>`.
150+
148151
* - CA Flowdock Settings
149152

150153
- Sets default values for alert notifications sent to Flowdock.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
stepnum: 1
3+
level: 4
4+
ref: add-mongodb-user-to-db
5+
title: "Add the CA certificate of the webhook into the Ops Manager HTTP server."
6+
content: |
7+
8+
After adding the absolute path to your webhook trust store to the following command,
9+
run it to add your CA certificate to the Ops Manager Java trust store.
10+
11+
.. code-block:: sh
12+
13+
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
14+
15+
---
16+
stepnum: 2
17+
level: 4
18+
ref: nav-add-credentials-automation
19+
title: "Confirm that the webhook CA certificate has been added."
20+
content: |
21+
22+
Run the following command to confirm that the CA certificate has been added successfully.
23+
24+
.. code-block:: sh
25+
26+
sudo /opt/mongodb/mms/jdk/bin/keytool -noprompt -storepass changeit -list -v -keystore /opt/mongodb/mms/jdk/lib/security/cacerts | grep -i Webhook_CA
27+
---
28+
stepnum: 3
29+
level: 4
30+
ref: add-credentials-automation-click-credentials
31+
title: "Test an HTTPS request to Ops Manager to confirm connectivity."
32+
content: |
33+
34+
After adding your webhook URL to the following command,
35+
run it to test your webhook's HTTPS connectivity with Ops Manager.
36+
37+
.. code-block:: sh
38+
39+
sudo curl -vvvv -cacert /opt/mongodb/mms/jdk/lib/security/cacerts <WebhookURL>
40+
41+
...

source/tutorial/add-ca-cert-to-om.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _add-ca-cert-to-om:
2+
3+
============================================
4+
Add CA Certificate to |mms| Java Trust Store
5+
============================================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 1
13+
:class: singlecol
14+
15+
In order to connect a webhook to |mms| with HTTPS, you'll need to import your
16+
CA certificate into the |mms| Java Trust Store.
17+
18+
Prerequisites
19+
-------------
20+
21+
- Have an accessible |mms| deployment
22+
23+
Add CA Cert to |mms| Java Truststore
24+
------------------------------------
25+
26+
.. include:: /includes/steps/add-ca-cert-to-om-truststore.rst

0 commit comments

Comments
 (0)