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

Re: ldap_start_tls: Connect error (-11)



You have to generate the certificate with "linux.kolkatainfoservices.in" and not "127.0.0.1"

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 ?







--
Email:    louis.gonzales@linuxlouis.net
WebSite:  http://www.linuxlouis.net
"Open the pod bay doors HAL!" -2001: A Space Odyssey
"Good morning starshine, the Earth says hello." -Willy Wonka