Without TLS, slapd works OK. But when activating it, slapd refuse to
start:
Dec 15 23:36:58 ryu slapd2.2[22683]: bdb_db_init: Initializing bdb
database
Dec 15 23:36:58 ryu slapd2.2[22683]: main: TLS init def ctx failed: -1
Dec 15 23:36:58 ryu slapd2.2[22683]: slapd stopped.
Dec 15 23:36:58 ryu slapd2.2[22683]: connections_destroy: nothing to
destroy.
Here is my TLS configuration:
# TLS configuration
TLSCertificateFile /etc/ssl/crt/ldap.pem
TLSCertificateKeyFile /etc/ssl/key/ldap.pem
TLSCACertificateFile /etc/ssl/crt/ca.pem
This happens on mdk 10.1, with openldap 2.2.17. The same configuration,
with the same certificates, works fine on Debian with openldap 2.1.29.
Any idea ?