my wildcard certificate doesn't get accepted with ldap 2.4.23. when i try to connect i get the following error:
TLS certificate verification: subject:
OID.2.5.29.17=DNS:*.domain.com,CN=*.domain.com,OU=LALALA,O=LALALA S.A.,L=LALALA,ST=LALALA,C=XX,
issuer: [email protected],CN=LALALA Root C.A.,O=LALALA,L=LALALA,ST=LALALA,C=XX,
cipher: AES-256, security level: high, secret key bits: 256, total key bits: 256,
cache hits: 0, cache misses: 0, cache not reusable: 0
TLS: hostname (openldap1.domain.com) does not match common name in certificate (*.domain.com).
my certificate is: CN=*.domain.com
AND subjectAltName=DNS:*.domain.com
How can I make it so that my certificate is accepted in LDAP?
first i've found a page saying that, wildcards in CN don't work with openldap and you have to use subjectAltName! (I can't find that page anymore...)
unfortunately, i've created the certificate like this, which is not the subjectAltName, that you need:
that's why it is displaying OID.2.5.29.17 instead of subjectAltName...
i've found the answer for subjectAltName on: http://wiki.cacert.org/VhostTaskForce