aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/openldap/templates/slapd.conf6
-rw-r--r--modules/openldap/templates/slapd.syncrepl.conf2
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf
index bc8f14c9..06191b03 100644
--- a/modules/openldap/templates/slapd.conf
+++ b/modules/openldap/templates/slapd.conf
@@ -35,9 +35,9 @@ moduleload memberof.la
moduleload unique.la
moduleload dynlist.la
-TLSCertificateFile /etc/ssl/openldap/ldap.pem
-TLSCertificateKeyFile /etc/ssl/openldap/ldap.pem
-TLSCACertificateFile /etc/ssl/openldap/ldap.pem
+TLSCertificateFile /etc/ssl/openldap/ldap.<%= domain %>.pem
+TLSCertificateKeyFile /etc/ssl/openldap/ldap.<%= domain %>.pem
+TLSCACertificateFile /etc/ssl/openldap/ldap.<%= domain %>.pem
# Give ldapi connection some security
localSSF 56
diff --git a/modules/openldap/templates/slapd.syncrepl.conf b/modules/openldap/templates/slapd.syncrepl.conf
index 4b4e8d40..06acca67 100644
--- a/modules/openldap/templates/slapd.syncrepl.conf
+++ b/modules/openldap/templates/slapd.syncrepl.conf
@@ -7,5 +7,5 @@ syncrepl rid=<%= rid %>
binddn="cn=syncuser-<%= hostname%>,<%= dc_suffix %>"
credentials=<%= sync_password %>
-updateref= ldaps://ldap-master.<%= domain %>:636
+updateref ldaps://ldap-master.<%= domain %>:636