]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix set-ssl-certificate{,-key} commands
authorAlfonso Martínez <almartin@redhat.com>
Mon, 3 May 2021 16:46:08 +0000 (18:46 +0200)
committerSage Weil <sage@newdream.net>
Thu, 13 May 2021 15:10:36 +0000 (10:10 -0500)
commitb211a1af7a9ad9d1c4aaba5179add927255f8fcb
tree3c5981d021d5e06cc71d61bf29b0c9e8e2847834
parentb7df7db1b822d2c640fb281c8be4abf9558705f7
mgr/dashboard: fix set-ssl-certificate{,-key} commands

- Now create-self-signed-cert command relies on set-ssl-certificate{,-key} commands.
- Simplify the command testing and increase the test coverage.

Fixes: https://tracker.ceph.com/issues/50519
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit fb20990bca55ffe1712a905c3a9741e8df004e74)
(cherry picked from commit 3bdbbb95a05b26e84e09a550d0bde3facf3a76d4)
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/test_ssl.py [new file with mode: 0644]
src/pybind/mgr/dashboard/tests/test_sso.py