You must make sure that the server name in your certificate is identical to
the DNS name of your server. When you created the certificate, you gave it
the wrong name.
From: Franky Van Liedekerke [mailto:firstname.lastname@example.org]
Sent: Tuesday, December 14, 1999 3:29 AM
Subject: [apache-ssl] Subject CN in certificate not server name!?
I'm encountering this strange error in my ssl logfile:
[Tue Dec 14 05:34:01 1999] [error] OpenSSL: error:14094412:SSL
routines:SSL3_READ_BYTES:sslv3 alert bad certificate [Hint: Subject CN
in certificate not server name!?]
Now this is for a site private.xxxx.be, and apache is configured so
private.xxxx.be is a virtual host (with ServerName set to
When I read the certificate with the command:
/opt/openssl/bin/openssl x509 -noout -text -in xxxx.crt
Subject: C=BE, ST=Brussel, L=Brussel, O=Vereniging van Vlaamse
Balies, OU=Vereniging van Vlaamse Balies,
So I see here the CN is private.xxxx.be/Emailemail@example.com.
Is this something corrupt in my server cert, or does anybody knows an