[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: load balancer with SSL
- To: "Howard Chu" <hyc@symas.com>
- Subject: Re: load balancer with SSL
- From: "Jeremiah Martell" <inlovewithgod@gmail.com>
- Date: Wed, 18 Oct 2006 12:42:12 -0400
- Cc: OpenLDAP Software List <OpenLDAP-software@openldap.org>, stran@amnh.org
- Content-disposition: inline
- In-reply-to: <4489BFBC.2020009@symas.com>
- References: <233eb300604240755n531cf8e2vbca23c8e476a2938@mail.gmail.com> <1145892082.5875.8.camel@zephyr.internal.amnh.org> <233eb300604261246h4778ba91tc6ea9fa53a4d7bb4@mail.gmail.com> <1146083365.6026.9.camel@zephyr.internal.amnh.org> <233eb300604270446m4c1a2c12hb1fefbafe41e3cdb@mail.gmail.com> <233eb300606090658i1f5fa8bfx940f6f3d185aadbf@mail.gmail.com> <1149866630.28931.7.camel@localhost> <4489BFBC.2020009@symas.com>
>
> Jeremiah,
>
> I did the test with TLS_REQCERT set to 'allow' and got the same result
> as you. I am not sure what they mean by 'bad certificate' in the manual
> page of 'ldap.conf'.
>
Generally a bad certificate means a certificate whose signature cannot
be verified by the SSL library, or a missing certificate. If a
certificate is provided and the SSL library can verify it, then it will
be used. If the hostname doesn't match, the connection will fail. I.e.,
hostname matches are never ignored once the certificate is verified. For
a load balancing situation you must use subjectAltName's with the
relevant names, that's all there is to it.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/
Howard Chu,
Sorry to resurrect this thread after so many months. I have a
question as to why if I put in "TLS_REQCERT never" in my ldap.conf,
openldap does any actions with any certificates. It seems to me from
the man for ldap.conf, that never causes "The client will not request
or check any server certificate."
In my instance (I still haven't solved this problem), I put in
"TLS_REQCERT never" in my ldap.conf, but still get this error from
openldap:
TLS: hostname (loadbalancer.example.com) does not match common name in
certificate (server1.example.com).
Your thoughts?
Thanks,
- Jeremiah