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

Re: load balancer with SSL



"Jeremiah Martell" <inlovewithgod@gmail.com> writes:

>> >
>> > Jeremiah,
[...]
> TLS: hostname (loadbalancer.example.com) does not match common name in
> certificate (server1.example.com).

The host certificate is issued for CN:server1.example.com, but the
host you are connecting to is loadbalancer.example.com.
You have to create a subject alternative name in the hosts
certificate. That is, you have to configure a subjectAltName in
openssl.cnf, something like
...
[ usr_cert ]
...
subjectAltName=DNS:localhost, DNS:loadbalancer.example.com

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
N 53°37'10.08"
E 10°08'02.82"
GPG Key ID:8EF7B6C6