[Date Prev][Date Next] [Chronological] [Thread] [Top]

main: TLS init def ctx failed: -1

Hi all,
I followed the TLS directives and was able to generate cacert, servercert and server key and also sign it. I also did the configuration o   to /usr/local/etc/openldap/slapd.d/cn=config.ldif:

§  olcTLSCACertificateFile: /usr/local/etc/openldap/cacert.pem

§  olcTLSCertificateFile: /usr/local/etc/openldap/servercrt.pem

§  olcTLSCertificateKeyFile: /usr/local/etc/openldap/serverkey.pem


Everything was working fine but when I shut down slapd, it doesn't start and gives me this error 

daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)

Feb 26 15:28:56 lap00551 slapd[14775]: main: TLS init def ctx failed: -1

Can Someone please tell me what the error is and how I fix the issue?