Skip to content

Commit 53501aa

Browse files
(DOCSP-3580): Fixups for https installation
1 parent df2e215 commit 53501aa

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

source/administration/configure-https-deployment.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ You can configure the |charts| web server to use the HTTPS
1414
protocol, as opposed to the default HTTP protocol. With the HTTPS
1515
protocol, the web server encrypts your data using
1616
:abbr:`SSL (Secure Socket Layer)`, which ensures that the host
17-
transmits data securely. This process differs from
18-
:doc:`configuring SSL for data sources
17+
transmits data securely.
18+
19+
This process differs from :doc:`configuring SSL for data sources
1920
</administration/configure-ssl-data-sources>`, because this process
2021
enables |tls-ssl| on the |charts-short| web server itself, rather than
2122
configuring a connection to a specific MongoDB deployment with TLS/SSL

source/includes/steps-configure-https-for-charts.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ content: |
1212
- ``CHARTS_HTTPS_CERTIFICATE_FILE``
1313
- ``CHARTS_HTTPS_CERTIFICATE_KEY_FILE``
1414
15-
Replace the values of these variables with the names of your
15+
Replace the values of these variables with the *names* of your
1616
certificate file and key file respectively. The certificate must
1717
be in the ``.pem`` format and the key file must be a ``.key`` file.
18+
19+
.. important::
20+
21+
The values of these variables must be filenames, not complete
22+
file paths. These files are always loaded from the
23+
``web-certs`` volume.
1824
---
1925
title: Copy the certificate and key file to the |charts-short| Docker volume.
2026
ref: stop-charts-ssl
@@ -36,7 +42,7 @@ content: |
3642
3743
.. code-block:: ps1
3844
39-
docker run -it -v mongodb-charts_db-certs:/volume -v /c/path/to/certs:/localcerts alpine sh -c 'cp /localcerts/mycert.* /volume'
45+
docker run -it -v mongodb-charts_web-certs:/volume -v /c/path/to/certs:/localcerts alpine sh -c 'cp /localcerts/mycert.* /volume'
4046
4147
.. include:: /includes/fact-docker-unix-paths-windows.rst
4248
@@ -51,7 +57,7 @@ content: |
5157
5258
.. code-block:: sh
5359
54-
docker run -it -v mongodb-charts_db-certs:/volume -v /path/to/certs:/localcerts alpine sh -c 'cp /localcerts/mycert.* /volume'
60+
docker run -it -v mongodb-charts_web-certs:/volume -v /path/to/certs:/localcerts alpine sh -c 'cp /localcerts/mycert.* /volume'
5561
5662
- id: linux
5763
content: |
@@ -64,7 +70,7 @@ content: |
6470
6571
.. code-block:: sh
6672
67-
docker run -it -v mongodb-charts_db-certs:/volume -v /path/to/certs:/localcerts alpine sh -c 'cp /localcerts/mycert.* /volume'
73+
docker run -it -v mongodb-charts_web-certs:/volume -v /path/to/certs:/localcerts alpine sh -c 'cp /localcerts/mycert.* /volume'
6874
---
6975
title: Redeploy the |charts-short| Docker stack.
7076
ref: stop-charts-ssl-http

0 commit comments

Comments
 (0)