[LDAP Authentication] Use more secure protocol TSL v1.2 for security reason
parent
f4607885e1
commit
d9e95d13e6
|
@ -81,7 +81,7 @@ class LDAPAuthentication(BaseAuthentication):
|
||||||
local_private_key_file=key_file,
|
local_private_key_file=key_file,
|
||||||
local_certificate_file=cert_file,
|
local_certificate_file=cert_file,
|
||||||
validate=cert_validate,
|
validate=cert_validate,
|
||||||
version=ssl.PROTOCOL_TLSv1,
|
version=ssl.PROTOCOL_TLSv1_2,
|
||||||
ca_certs_file=ca_cert_file)
|
ca_certs_file=ca_cert_file)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue