From 69d9345b980753cbaa918cdb80c7b83bf4b8fb66 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 (cherry picked from commit 4cbe89f4db8ed13b2be46f2563c9d9618b0cf52b) --- 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 e7ceb867b955..524e3d587e10 100644 --- a/src/pybind/mgr/dashboard/cherrypy_backports.py +++ b/src/pybind/mgr/dashboard/cherrypy_backports.py @@ -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 -- 2.47.3