- Plesk for Linux
- Web Presence Builder for Linux
Apache error log '
' contains the following warnings:
[Mon Sep 04 15:12:13 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
This warning means that CN parameter of the certificate installed on one of domains does not match value of '
' directive specified in the corresponding '
' configuration. Additional information about SNI (Server Name Indication) could be obtained
This warning can be safely ignored.
Alternatively, the certificate may be regenerated to make its subject match the domain it is aimed to secure.
To obtain subjects of all installed certificates please use the following command:
# 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
Also, the attached script can be downloaded to obtain subjects. It runs the same command as above. To use the script:
# cd ~
# wget http://kb.plesk.com/Attachments/kcs-15116/cert.tar
# tar -xvf cert.tar
# chmod +x cert.sh
NOTE: In Plesk Automation it is needed to execute this command on the Management Node.
As a result, the script will give output like the following:
subject= /C=US/ST=Virginia/L=Herndon/O=Parallels/OU=Parallels Panel/CN=Parallels Panel/emailAddressemail@example.com
subject= /C=RU/ST=Oregon/L=Springfield/O=Customer1, Inc/CN=www.testlog.test/emailAddressfirstname.lastname@example.org