In Apache error_log, you see multiple messages indicating that the RSA server certificate commonname (CN) does not match the server name.
Article id:1500, created on May, last review on May 11, 2014
Suitable for:
- Web Presence Builder
- Plesk for Linux/unix
- Plesk Automation 11.5
Problem
Apache Error_log contains warnings:
[Mon Sep 04 15:12:13 2006] [Warn] RSA Server Certificate commonname (CN) ' Plesk ' does not match server name!?
Reason
This warning indicates that the CN parameter of the certificate installed on a domain name does not match the value specified in the directive ServerName in the corresponding VirtualHost configuration.
Solution Solutions
This warning can be safely ignored. In addition, you can regenerate the certificate to match its subject with the domain name that the certificate is designed to secure.
Use the following command to enumerate all the certificates available on the server with their subject parameters:
for i in `ls /usr/local/psa/var/certificates/`; do echo -n $i": "; openssl x509 -in /usr/local/psa/var/certificates/$i -subject -noout; done
certbH30632: subject= /C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=plesk/[email protected]
cert-lJYX22: subject= /C=ZW/ST=asdf/L=asdf/O=test/CN=www.mytestdomain.com/[email protected]
See multiple messages in Apache Error_log, indicating that the RSA server certificate commonname (CN) does not match the server name (RPM)