]> git-server-git.apps.pok.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>
Thu, 18 Oct 2018 20:07:55 +0000 (22:07 +0200)
commit48d46c0088bfcd124e1b016a4768627e37194985
tree89351f697abc945a74e9893d4b01b81ad0f515ba
parent04f279b6f8583b49f2cbdaa7e57a0bd7660c7838
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>
(cherry picked from commit 20ed0de477966d4b64283ac82d3132b3688f9e2d)
src/pybind/mgr/dashboard/module.py