[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Start TLS extended request
> Try reading the documentation again. TLS_CACERTDIR requires more than just a
> directory containing CA certificate files. In general it's more bother than
> it's worth.
TLS_CACERTDIR has all my ca certs and i've c_rehash 'ed them.
when i give TLS_CACERTFILE="some other CA who didnt sign my server certf"
and TLS_CACERTDIR="correct path where all my ca_certs are present and
c_rehashed", i can see that ldap verifies my server cert by looking
through the CACERTDIR for my valid CA certifiecate(which is present there)
Siva
On Fri, 23 Jan 2004, Howard Chu wrote:
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Siva Kollipara
>
> > Hi,
> > thanks for your earlier response. I'd had a question earlier
> > regarding the use of TLS_CACERTDIR and TLS_CACERTFILE.
> >
> > Is it that if I have to use ssl/tls with mandatory server
> > authentication
> > TLS_CACERTFILE **MUST** be set (either thro program or ldap.conf or
> > .ldaprc) and TLS_CACERTDIR can **optionally** be set to a directory.
> >
> > TLS_CACERTFILE TLS_CACERTDIR
> > 1 null null fails - valid reason to fail
> > 2 null valid directory fails - why?
> > 3.a correct CA file null works - ok
> > 3.b incorrect CA file null fails -
> > valid reason to fail
> > 4.a correct CA file valid directory works - ok
> > 4.b incorrect CA file valid directory works - the
> > directory has the correct CA file
> >
> > I've tried these combinations and only situations where
> > TLS_CACERTFILE is
> > set to a CA certficate (even some CA not included in the test picture
> > at all) works. for situation (2) my certificate verify fails with the
> > following error:
>
>
> -- Howard Chu
> Chief Architect, Symas Corp. Director, Highland Sun
> http://www.symas.com http://highlandsun.com/hyc
> Symas: Premier OpenSource Development and Support
>