]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Adding the alert bad certificate error to the ssl providers error 38509/head
authorNizamudeen A <nia@redhat.com>
Tue, 8 Dec 2020 14:35:28 +0000 (20:05 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 9 Dec 2020 17:01:24 +0000 (22:31 +0530)
upstream tracked in https://github.com/cherrypy/cheroot/pull/348
Fixes: https://tracker.ceph.com/issues/48490
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 4cbe89f4db8ed13b2be46f2563c9d9618b0cf52b)

src/pybind/mgr/dashboard/cherrypy_backports.py

index e7ceb867b9550fc29b4e984e84fa1783f8a63984..524e3d587e10a2e2182d83758f37f79b67f7da74 100644 (file)
@@ -104,7 +104,7 @@ def accept_exceptions_from_builtin_ssl(v):
                                          'certificate verify failed',  # client cert w/o trusted CA
                                          'version too low',  # caused by SSL3 connections
                                          'unsupported protocol',  # caused by TLS1 connections
-                                        )
+                                         'sslv3 alert bad certificate')
                         for error_text in _block_errors:
                             if error_text in e.args[1].lower():
                                 # Accepted error, let's pass