[LDAP Authentication] Use more secure protocol TSL v1.2 for security reason

This commit is contained in:
Ashesh Vashi 2020-04-08 11:57:01 +05:30
parent f4607885e1
commit d9e95d13e6

View File

@ -81,7 +81,7 @@ class LDAPAuthentication(BaseAuthentication):
local_private_key_file=key_file,
local_certificate_file=cert_file,
validate=cert_validate,
version=ssl.PROTOCOL_TLSv1,
version=ssl.PROTOCOL_TLSv1_2,
ca_certs_file=ca_cert_file)
try: