This is an old revision of the document!


Configure OpenLDAP SSL

To configure SSL using cn=config style

dn: cn=config
add: olcTLSCACertificateFile
olcTLSCACertificateFile: /etc/ssl/certs/server-intermediate.pem
-
add: olcTLSCertificateKeyFile
olcTLSCertificateKeyFile: /etc/ssl/private/server-key.pem
-
add: olcTLSCertificateFile
olcTLSCertificateFile: /etc/ssl/certs/server-cert.pem

and then add it to the server:

# ldapmodify -Y EXTERNAL -H ldapi:/// -f ./olcSSL.ldif

References