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 ?
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 ?
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 ?
JOYDEEP wrote, on 20. mar 2007 06:41:
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 ?
It's probable that you're running slapd on 127.0.0.1 (localhost), whereas it should be running on the IP address of linux.kolkatainfoservices.in exclusively. Moreover you should have linux.kolkatainfoservices.in with its IP number in /etc/hosts, so that there's no mistaking its address.
We've (almost all of us) all been through this when we were starting out with certs :)
--Tonni
openldap-software@openldap.org