[Date Prev][Date Next]
OpenLDAP as a ldap->ldaps proxy for apache to AD
- To: openldap-software@OpenLDAP.org
- Subject: OpenLDAP as a ldap->ldaps proxy for apache to AD
- From: Don Wood <firstname.lastname@example.org>
- Date: Mon, 13 Jun 2005 14:07:29 -0500
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=soxb4ZClq52gsDsu0xFt1HwcNL19R9eQ7gOqMAZNyDjXw5Wlkiq5Jquo44+0POjU5J2DswyLjlOWz7nOzkP0cNPBxP1XmauoYmn6Ur+Y9xf7hjfNIROzYaBENSQQDezJSPlbPnV/7Ox6Krm8QNi2pvaOl2H8D7lYsldQcVrGbiw=
I am having trouble setting up OpenLDAP as a ldap->ldaps proxy for
apache to AD authentication. The proxy is running on debian sarge and
I am using the standard packages.
I can see Apache connecting to OpenLDAP, and OpenLDAP connecting to
the AD server, but it appears that there are errors in the bind phase
for the SSL connection.
When I run "slapd -d 16383" I get the below messages in the dump.
TLS trace: SSL_connect:SSLv3 read server hello A
TLS certificate verification: depth: 2, err: 20, subject: /O=RSA
Security Inc./CN=RSA Public Root CA
v1/emailAddressemail@example.com, issuer: /L=ValiCert
Validation Network/O=ValiCert, Inc./OU=ValiCert Class 3 Policy
TLS certificate verification: Error, unable to get local issuer certificate
In slapd.conf I did not do any certificate configuration, as appache
will not be connecting with SSL. OpenLDAP runs as root, so all of my
SSL configuration is in ~root/.ldaprc. Am I understanding correctly
that this is how it should be done. I have double-checked the paths
to the cert files, and they are all PEM encoded. I also know the
files are valid because Apache is using them for server authentication
to the client.
Here are what I believe to be the applicable lines from my configuration.
Not sure what I'm missing, but I'm new to OpenLDAP so it could be
something basic. (I have checked the man pages, other docs, and
searched the mailing lists.)