mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
fix api health
This commit is contained in:
@@ -10,7 +10,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
def get_no_x509_strict_context():
|
def get_no_x509_strict_context():
|
||||||
context = ssl.create_default_context()
|
context = ssl.create_default_context()
|
||||||
context.options |= ssl.OP_NO_X509_STRICT
|
context.verify_flags &= ~ssl.VERIFY_X509_STRICT
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user