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

Re: ldapsearch and TLS

--On Mittwoch, 12. September 2001 11:20 -0500 Craig Hancock <chancock@bsd.uchicago.edu> wrote:

For some reason when I try to configure the TLS portion of it and
attempt to do an ldapsearch ie

ldapsearch -Z -H ldaps://localhost -b "dc=test,dc=testing,dc=com"
"objectclass=*" -x

I get the error
ldap_start_tls: Can't contact LDAP server

The CN in your certificate is probably not "localhost". Try using the FQDN in ldapsearch.

Norbert Klasen
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de