TLS: unable to get common name from peer certificate

Wegener, Norbert norbert.wegener at
Sun Oct 28 18:08:41 CET 2012

I can authenticate against a ldap server. That server also offers ldaps, which I would like to use.
When trying  ldaps connection I get:

[ldap]  expand: dc=dom,dc=MYCOMPANY,dc=NET -> dc=dom,dc=MYCOMPANY,dc=NET
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] attempting LDAP reconnection
[ldap] (re)connect to, authentication 0
[ldap] setting TLS mode to 1
[ldap] bind as acct at to
TLS: unable to get common name from peer certificate.
[ldap] acct at bind to failed: Can't contact LDAP server
[ldap] (re)connection attempt failed

Is this a problem of freeradius (I am using 2.1.12) or something with the ldap server?

With best regards,

Norbert Wegener

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list