]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Adding the alert bad certificate error to the ssl providers error 38484/head
authorNizamudeen A <nia@redhat.com>
Tue, 8 Dec 2020 14:35:28 +0000 (20:05 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 8 Dec 2020 14:55:24 +0000 (20:25 +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>
src/pybind/mgr/dashboard/cherrypy_backports.py

index d97c6de8482b0342b4105ca0b56f0cd067d1243d..4fc59ba0605a771de77e7d0eb267c323139fc7e3 100644 (file)
@@ -103,7 +103,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