oh yeah, ssl

This commit is contained in:
cazagen 2019-11-11 23:49:34 +00:00
parent c7a74c5d42
commit 1682cb6bdb

View File

@ -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))