]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Do not require cert for http
authorBoris Ranto <branto@redhat.com>
Fri, 14 Sep 2018 10:03:23 +0000 (12:03 +0200)
committerBoris Ranto <branto@redhat.com>
Tue, 18 Sep 2018 08:48:51 +0000 (10:48 +0200)
commit20ed0de477966d4b64283ac82d3132b3688f9e2d
tree33da5f67e217276cce8fbd07e4a150be7d8ad20f
parentb035df69f706189134fb29c666b6d447c8037426
mgr/dashboard: Do not require cert for http

The ceph dashboard currently requires a SSL certificate even if it is
not running in the SSL mode since it is always querying for the
certificate file/key pair.

This patch fixes the behaviour by querying for the certificate file/key
only if it is running in the SSL mode.

Fixes: http://tracker.ceph.com/issues/36069
Signed-off-by: Boris Ranto <branto@redhat.com>
src/pybind/mgr/dashboard/module.py