From: Ricardo Dias Date: Tue, 9 Apr 2019 12:46:34 +0000 (+0100) Subject: doc/mgr/dashboard: update SSL configuration instructions X-Git-Tag: v14.2.3~42^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d2ab1e6d17db8667e4b7da7f91171cee727f254e;p=ceph.git doc/mgr/dashboard: update SSL configuration instructions Signed-off-by: Ricardo Dias (cherry picked from commit 69895dd51650423849504d34c4e3b7b211cc0473) --- diff --git a/doc/mgr/dashboard.rst b/doc/mgr/dashboard.rst index d41c25b43fd65..f67b515557fac 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::