[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: main: TLS init def ctx failed: -1
On 02/26/15 20:53 +0000, jeevan kc wrote:
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?
Which version of OpenLDAP, and which SSL library have you compiled against?
Verify permissions to the 3 files above, for the user that slapd is running
as. Verify your configuration matches the configuration options necessary
to support your SSL library. See slapd-config(5), and the TLS OPTIONS
section.
--
Dan White