LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

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


Hi,

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
keithweddell
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 server.example.com, there are two things to check:

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

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

Sorting these two issues fixed it for me.

Keith
 
  


Reply


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:40 PM.

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