Skip to content

Commit ed9105d

Browse files
(DOCSP-17409): fix openssl commands for generating downloads.mdb.com cert
1 parent 9b3c65b commit ed9105d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

source/includes/steps-deploy-k8s-opsmgr-https.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,10 @@ content: |
6464
outputs each certificate in the chain to your current working
6565
directory, in ``.crt`` format:
6666
67-
.. using path to openssl to preempt macOS libressl issues
68-
6967
.. code-block:: sh
7068
71-
/usr/local/opt/openssl/bin/openssl s_client -showcerts -verify 2 \
72-
-connect downloads.mongodb.com:443 < /dev/null \
69+
openssl s_client -showcerts -verify 2 \
70+
-connect downloads.mongodb.com:443 -servername downloads.mongodb.com < /dev/null \
7371
| awk '/BEGIN/,/END/{ if(/BEGIN/){a++}; out="cert"a".crt"; print >out}'
7472
7573
#. Concatenate your |certauth|\'s certificate file with the

source/includes/steps-source-deploy-om-resource.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,10 @@ content: |
5959
outputs each certificate in the chain to your current working
6060
directory, in ``.crt`` format:
6161
62-
.. using path to openssl to preempt macOS libressl issues
63-
6462
.. code-block:: sh
6563
66-
openssl s_client -servername downloads.mongodb.com -showcerts -verify 2 \
67-
-connect downloads.mongodb.com:443 < /dev/null \
64+
openssl s_client -showcerts -verify 2 \
65+
-connect downloads.mongodb.com:443 -servername downloads.mongodb.com < /dev/null \
6866
| awk '/BEGIN/,/END/{ if(/BEGIN/){a++}; out="cert"a".crt"; print >out}'
6967
7068
#. Concatenate your |certauth|\'s certificate file with the

0 commit comments

Comments
 (0)