[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_start_tls: Connect error (-11)
louis gonzales wrote:
> You have to generate the certificate with
> "linux.kolkatainfoservices.in" and not "127.0.0.1"
Thanks but I have found the problem. In ldap.conf file the host setting was
HOST 127.0.0.1
and I have changed it to
HOST linux.kolkatainfoservices.in
and now -ZZ is working fine.
thanks
>
> JOYDEEP wrote:
>
>> Dear list,
>>
>> I have self signed certificate. Now the command * ldpasearch -x -ZZ -d
>> 255* shows
>>
>> TLS: hostname (127.0.0.1) does not match common name in certificate
>> (linux.kolkatainfoservices.in).
>> ldap_perror
>> ldap_start_tls: Connect error (-11)
>> additional info: TLS: hostname does not match CN in peer
>> certificate
>>
>>
>> I have checked with the *hostname* command in linux and it shows the
>> hostname as
>> linux.kolkatainfoservices.in
>>
>> I am really confused here. could any one suggest any solution please ?
>>
>>
>>
>>
>>
>
>