aboutsummaryrefslogtreecommitdiffstats
path: root/main/openvpn-auth-ldap/default-config.patch
blob: ac190741f54c7af19251d1eaf31cf346c7869337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/auth-ldap.conf
+++ b/auth-ldap.conf
@@ -15,18 +15,18 @@
 	TLSEnable	yes
 
 	# Follow LDAP Referrals (anonymously)
-	FollowReferrals yes
+	FollowReferrals no
 
 	# TLS CA Certificate File
-	TLSCACertFile	/usr/local/etc/ssl/ca.pem
+	TLSCACertFile	/etc/ssl/certs/ca-certificates.crt
 
 	# TLS CA Certificate Directory
 	TLSCACertDir	/etc/ssl/certs
 
 	# Client Certificate and key
 	# If TLS client authentication is required
-	TLSCertFile	/usr/local/etc/ssl/client-cert.pem
-	TLSKeyFile	/usr/local/etc/ssl/client-key.pem
+	TLSCertFile	/etc/ssl/client-cert.pem
+	TLSKeyFile	/etc/ssl/client-key.pem
 
 	# Cipher Suite
 	# The defaults are usually fine here