From d2ab1e6d17db8667e4b7da7f91171cee727f254e Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Tue, 9 Apr 2019 13:46:34 +0100 Subject: [PATCH] doc/mgr/dashboard: update SSL configuration instructions Signed-off-by: Ricardo Dias (cherry picked from commit 69895dd51650423849504d34c4e3b7b211cc0473) --- doc/mgr/dashboard.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/mgr/dashboard.rst b/doc/mgr/dashboard.rst index d41c25b43fd6..f67b515557fa 100644 --- a/doc/mgr/dashboard.rst +++ b/doc/mgr/dashboard.rst @@ -173,15 +173,15 @@ For example, a key pair can be generated with a command similar to:: The ``dashboard.crt`` file should then be signed by a CA. Once that is done, you can enable it for all Ceph manager instances by running the following commands:: - $ ceph config-key set mgr/dashboard/crt -i dashboard.crt - $ ceph config-key set mgr/dashboard/key -i dashboard.key + $ ceph dashboard set-ssl-certificate -i dashboard.crt + $ ceph dashboard set-ssl-certificate-key -i dashboard.key If different certificates are desired for each manager instance for some reason, the name of the instance can be included as follows (where ``$name`` is the name of the ``ceph-mgr`` instance, usually the hostname):: - $ ceph config-key set mgr/dashboard/$name/crt -i dashboard.crt - $ ceph config-key set mgr/dashboard/$name/key -i dashboard.key + $ ceph dashboard set-ssl-certificate $name -i dashboard.crt + $ ceph dashboard set-ssl-certificate-key $name -i dashboard.key SSL can also be disabled by setting this configuration value:: -- 2.47.3