Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-02-2006, 09:08 AM   #1
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
ldap_start_tls: Connect error (-11)


Need help on this problem if anyone had already encountered a similar issues.

I installed openldap in my linux box for linux authentication purposes. After, everything were sets (ldap.conf, slapd.conf and SSL certificates). I've tried to verify if I can connect successfully to the ldap server and it gives me this error:

ldap_start_tls: Connect error (-11)
additional info: TLS: hostname does not match CN in peer certificate

What does it means? How I can fix that error. I check with ps -ef | grep slapd.. found ldap service is running on the system. Please help.......
Old 12-04-2006, 06:17 AM   #2
LQ Newbie
Registered: May 2006
Posts: 9

Rep: Reputation: 1
This is quite an old post so I don't if you're still around. But I just solved this on my system the other day. Assuming your server is called, there are two things to check:

1. When you created the ssl certifcate did you use as the CN?

2. Is there is URI line in your ldap.conf e.g.
URI ldap:// ldaps://

Sorting these two issues fixed it for me.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
smblient Error When Trying To Connect To XP Psibur Linux - Newbie 3 08-07-2005 03:27 PM
Modem -- can't connect with error 2 jdtiede Fedora 1 07-19-2005 01:57 AM
Socket error on Connect mdimanna Programming 2 06-24-2005 10:28 AM
cant connect (error code 2) scagman Linux - Networking 1 05-06-2005 01:18 AM
mySQL connect error brentos Linux - Software 0 06-11-2004 10:12 AM

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration