Hi Dan,OpenLDAP version 2.4.30OpenSSL version    1.0.0dAre these two 
compatible? Also I've verified the permissions. Your reply is appreciated . 
Thanks
Jeevan


> Date: Thu, 26 Feb 2015 15:04:40 -0600
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: 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
                                          

Reply via email to