Skip to content
Snippets Groups Projects
Commit 0ad75d48 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Use SSL by default for LDAP connection

Without SSL, data and passwords are sent via plain text.

JIRA INFRA-2805 #action In Progress
parent 6ef158a0
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,8 @@ ELASTICSEARCH_INDEX_SUFFIX = "-dev"
ELASTICSEARCH_REFRESH = "false"
LDAP_HOST = os.environ.get("LDAP_HOST", "esss.lu.se")
LDAP_PORT = int(os.environ.get("LDAP_PORT", 389))
LDAP_USE_SSL = os.environ.get("LDAP_USE_SSL", "false").lower() == "true"
LDAP_PORT = int(os.environ.get("LDAP_PORT", 636))
LDAP_USE_SSL = os.environ.get("LDAP_USE_SSL", "true").lower() == "true"
LDAP_BASE_DN = os.environ.get("LDAP_BASE_DN", "DC=esss,DC=lu,DC=se")
LDAP_USER_DN = os.environ.get("LDAP_USER_DN", "")
LDAP_GROUP_DN = os.environ.get("LDAP_GROUP_DN", "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment