@@ -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 ---
1925title : Copy the certificate and key file to the |charts-short| Docker volume.
2026ref : 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 ---
6975title : Redeploy the |charts-short| Docker stack.
7076ref : stop-charts-ssl-http
0 commit comments