summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-09-14 20:03:26 -0400
committerMark Felder <feld@feld.me>2024-09-14 20:36:24 -0400
commit5539fea3bb0d272b4cefc2b72755cb3cd285cc67 (patch)
tree411e925a4620b7aa974c010ba2d2b9a98bf8a94a /config
parent7def11d7c352f13ce0f12715649359344cbba9a6 (diff)
downloadpleroma-5539fea3bb0d272b4cefc2b72755cb3cd285cc67.tar.gz
pleroma-5539fea3bb0d272b4cefc2b72755cb3cd285cc67.zip
LDAP: permit overriding the CA root
Diffstat (limited to 'config')
-rw-r--r--config/config.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index 80a3b8d57..237928503 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -619,7 +619,9 @@ config :pleroma, :ldap,
tls: System.get_env("LDAP_TLS") == "true",
tlsopts: [],
base: System.get_env("LDAP_BASE") || "dc=example,dc=com",
- uid: System.get_env("LDAP_UID") || "cn"
+ uid: System.get_env("LDAP_UID") || "cn",
+ # defaults to CAStore's Mozilla roots
+ cacertfile: nil
oauth_consumer_strategies =
System.get_env("OAUTH_CONSUMER_STRATEGIES")