Résumé
This technote describes the cause of Error: "RSA server certificate CommonName (CN) 'www.domain.com' does NOT match server name" on Apache
You may receive the following error when starting up Apache:
"RSA server certificate CommonName (CN) 'www.domain.com' does NOT match server name"
This will occur if port 443 was added to both the ServerName and VirtualHost directives and if the Server Name does not match the domain name on the certificate.
To resolve this remove
:443
from the servername.
<VirtualHost 192.204.135.134:443>
ServerName
www.domain.com:443
DocumentRoot /home/directory/html
SSLEnable
SSLCertificateFile /www.domain.crt
SSLCertificateKeyFile /www.domain.key
</VirtualHost>
The VirtualHost example below is the correct method of using an SSL enabled VHost. As you can see
:443
has been removed from the ServerName parameter.
<VirtualHost 192.204.135.134:443>
ServerName
www.domain.com
DocumentRoot /home/directory/html
SSLEnable
SSLCertificateFile /www.domain.crt
SSLCertificateKeyFile /www.domain.key
</VirtualHost>
If you have any questions or concerns please contact the
Entrust Certificate Services Support
department for further assistance:
Hours of Operation:
Sunday 8:00 PM ET to Friday 8:00 PM ET
North America (toll free): 1-866-267-9297
Outside North America: 1-613-270-2680 (or see the list below)
NOTE: Smart Phone users may use the 1-800 numbers shown in the table below.
Otherwise, it is very important that international callers dial the UITF format exactly as indicated. Do not dial an extra "1" before the "800" or your call will not be accepted as an UITF toll free call.
Pays | Number |
Australie |
0011 - 800-3687-7863
1-800-767-513 |
Autriche | 00 - 800-3687-7863 |
Belgique | 00 - 800-3687-7863 |
Danemark | 00 - 800-3687-7863 |
Finlande |
990 - 800-3687-7863 (Telecom Finland)
00 - 800-3687-7863 (Finnet) |
France | 00 - 800-3687-7863 |
Allemagne | 00 - 800-3687-7863 |
Hong Kong |
001 - 800-3687-7863 (Voice)
002 - 800-3687-7863 (Fax) |
Irlande | 00 - 800-3687-7863 |
Israël | 014 - 800-3687-7863 |
Italie | 00 - 800-3687-7863 |
Japon |
001 - 800-3687-7863 (KDD)
004 - 800-3687-7863 (ITJ) 0061 - 800-3687-7863 (IDC) |
Corée |
001 - 800-3687-7863 (Korea Telecom)
002 - 800-3687-7863 (Dacom) |
Malaisie | 00 - 800-3687-7863 |
Pays-Bas | 00 - 800-3687-7863 |
Nouvelle-Zélande |
00 - 800-3687-7863
0800-4413101 |
Norvège | 00 - 800-3687-7863 |
Singapour | 001 - 800-3687-7863 |
Espagne | 00 - 800-3687-7863 |
Suède |
00 - 800-3687-7863 (Telia)
00 - 800-3687-7863 (Tele2) |
Suisse | 00 - 800-3687-7863 |
Taïwan | 00 - 800-3687-7863 |
Royaume-Uni |
00 - 800-3687-7863
0800 121 6078 +44 (0) 118 953 3088 |