Adapt the patch that originally disabled certain TLS checks during the
dashboard's startup and fixes the `ceph dashboard` subcommand becoming
unavailable if the dashboard crashes during that time.
This is achieved by re-implementing certain checks and also re-raising
any other unforeseen exceptions that occur in regards to TLS as one of
Ceph's internal exception types, which are then handled by the
dashboard itself. This is akin to how these cases were handled
originally.
Also fixes a typo in the `ceph dashboard create-self-signed-cert`
command output.
Signed-off-by: Max Carrara <m.carrara@proxmox.com>
(cherry picked from commit 2566e812f7)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit essentially contains all changes from the following
commits (most recent last):
* f35168f671
* 86a553d66e
* ab5c03b44d
The series file and the patches' prefixed numbers have been updated
correspondingly.
A very minor adaptation has been made to the patch added by commit
f35168f671 in order to get it to apply
correctly.
Signed-off-by: Max Carrara <m.carrara@proxmox.com>
(cherry picked from commit f9e87274b7)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>