@@ -33,37 +33,27 @@ content: |
33
33
--key=<appdb-tls-key>
34
34
35
35
---
36
- title : " If necessary, validate your TLS certificates."
36
+ title : " Add additional certificates to custom :abbr:`CA (Certificate
37
+ Authority)` certificates."
37
38
stepnum : 3
38
39
ref : validate-tls-cert
39
40
content : |
40
41
41
- If your |onprem| |tls| certificate or your application database
42
- |tls| certificate is signed by a custom |certauth|, you must provide a
43
- :abbr:`CA (Certificate Authority)` certificate to validate the |tls|
44
- certificate(s). To validate the |tls| certificate(s), create a
45
- |k8s-configmap| to hold the |certauth| certificate:
46
-
47
- .. warning::
48
-
49
- You must concatenate your custom |certauth| file and the entire
50
- |tls| certificate chain from ``downloads.mongodb.com`` to prevent
51
- |onprem| from becoming inoperable if the application database
52
- restarts.
42
+ If your |onprem| |tls| certificate is signed by a custom |certauth|,
43
+ the :abbr:`CA (Certificate Authority)` certificate must also contain
44
+ additional certificates that allow |onprem| Backup Daemon to download
45
+ MongoDB binaries from the internet. To create the |tls|
46
+ certificate(s), create a |k8s-configmap| to hold the |certauth|
47
+ certificate:
53
48
54
49
.. important::
55
50
56
- The |k8s-op-short| requires that:
57
-
58
- - Your |onprem| certificate is named ``mms-ca.crt`` in the
59
- ConfigMap.
60
- - Your application database certficate is named ``ca-pem`` in
61
- the ConfigMap.
51
+ The |k8s-op-short| requires that your |onprem| certificate is named
52
+ ``mms-ca.crt`` in the ConfigMap.
62
53
63
- a. Obtain the entire |tls| certificate chain for both |onprem| and
64
- the application database from
54
+ a. Obtain the entire |tls| certificate chain for |onprem| from
65
55
``downloads.mongodb.com``. The following ``openssl`` command
66
- outputs each certificate in the chain to your current working
56
+ outputs the certificate in the chain to your current working
67
57
directory, in ``.crt`` format:
68
58
69
59
.. code-block:: sh
@@ -81,27 +71,12 @@ content: |
81
71
82
72
cat cert1.crt cert2.crt cert3.crt cert4.crt >> mms-ca.crt
83
73
84
- #. Concatenate your |certauth|\'s certificate file for the application
85
- database with the entire |tls| certificate chain from
86
- ``downloads.mongodb.com`` that
87
- you obtained in the previous step:
88
-
89
- .. code-block:: sh
90
-
91
- cat cert1.crt cert2.crt cert3.crt cert4.crt >> ca-pem
92
-
93
74
#. Create the |k8s-configmap| for |onprem|:
94
75
95
76
.. code-block:: sh
96
77
97
78
kubectl create configmap om-http-cert-ca --from-file="mms-ca.crt"
98
79
99
- #. Create the |k8s-configmap| for the application database:
100
-
101
- .. code-block:: sh
102
-
103
- kubectl create configmap ca --from-file="ca-pem"
104
-
105
80
---
106
81
title : " Copy one of the following |onprem| |k8s| |k8s-obj| examples."
107
82
stepnum : 4
0 commit comments