oh yeah, ssl

master
cazagen 5 years ago
parent c7a74c5d42
commit 1682cb6bdb
  1. 1
      octoprint_auth_ldap/__init__.py

@ -7,6 +7,7 @@ from octoprint.settings import settings
import ldap
import ldap3
import ldap3.utils.dn
import ssl
import uuid
LDAP_SERVER = ldap3.Server("pool.ldap.ehlab.uk", tls=ldap3.Tls(validate=ssl.CERT_REQUIRED, version=ssl.PROTOCOL_TLSv1_2))

Loading…
Cancel
Save