From: Nizamudeen A Date: Tue, 8 Dec 2020 14:35:28 +0000 (+0530) Subject: mgr/dashboard: Adding the alert bad certificate error to the ssl providers error X-Git-Tag: v14.2.17~101^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38509%2Fhead;p=ceph.git 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) --- 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