See multiple messages in Apache Error_log, indicating that the RSA server certificate commonname (CN) does not match the server name (RPM)

Source: Internet
Author: User
Tags openssl x509 plesk

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.