From a4c4a1c3864b4afe4f20803e5d2fdd5a2e4f9efe Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sun, 30 Jun 2019 15:50:35 +0200 Subject: [PATCH] Fix the ssl ldif. --- library/roles/openldap-server/files/olcSSL.ldif | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/library/roles/openldap-server/files/olcSSL.ldif b/library/roles/openldap-server/files/olcSSL.ldif index 4c39002..6dea751 100644 --- a/library/roles/openldap-server/files/olcSSL.ldif +++ b/library/roles/openldap-server/files/olcSSL.ldif @@ -1,20 +1,11 @@ -dn: cn=config -changetype: modify -replace: olcTLSCACertificateFile -olcTLSCACertificateFile: /etc/pki/openldap/chain.pem - dn: cn=config changetype: modify replace: olcTLSCertificateKeyFile olcTLSCertificateKeyFile: /etc/pki/openldap/privkey.pem - -dn: cn=config -changetype: modify +- replace: olcTLSCertificateFile olcTLSCertificateFile: /etc/pki/openldap/cert.pem - -dn: cn=config -changetype: modify -replace: olcTLSCACertificatePath -olcTLSCACertificatePath: /etc/ssl/certs +- +replace: olcTLSCACertificateFile +olcTLSCACertificateFile: /etc/pki/openldap/chain.pem