oh yeah, ssl
This commit is contained in:
parent
c7a74c5d42
commit
1682cb6bdb
|
@ -7,6 +7,7 @@ from octoprint.settings import settings
|
||||||
import ldap
|
import ldap
|
||||||
import ldap3
|
import ldap3
|
||||||
import ldap3.utils.dn
|
import ldap3.utils.dn
|
||||||
|
import ssl
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
LDAP_SERVER = ldap3.Server("pool.ldap.ehlab.uk", tls=ldap3.Tls(validate=ssl.CERT_REQUIRED, version=ssl.PROTOCOL_TLSv1_2))
|
LDAP_SERVER = ldap3.Server("pool.ldap.ehlab.uk", tls=ldap3.Tls(validate=ssl.CERT_REQUIRED, version=ssl.PROTOCOL_TLSv1_2))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user