From 4cbe89f4db8ed13b2be46f2563c9d9618b0cf52b Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Tue, 8 Dec 2020 20:05:28 +0530 Subject: [PATCH] mgr/dashboard: Adding the alert bad certificate error to the ssl providers error upstream tracked in https://github.com/cherrypy/cheroot/pull/348 Fixes: https://tracker.ceph.com/issues/48490 Signed-off-by: Nizamudeen A --- src/pybind/mgr/dashboard/cherrypy_backports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/cherrypy_backports.py b/src/pybind/mgr/dashboard/cherrypy_backports.py index d97c6de8482b0..4fc59ba0605a7 100644 --- a/src/pybind/mgr/dashboard/cherrypy_backports.py +++ b/src/pybind/mgr/dashboard/cherrypy_backports.py @@ -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 -- 2.39.5