Article ID: 1500, created on May 28, 2012, last review on May 11, 2014

  • Applies to:
  • Plesk Automation 11.5
  • Web Presence Builder
  • Plesk for Linux/Unix

问题

Apache error_log 含有警告:
[Mon Sep 04 15:12:13 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

原因

此警告表示安装于一个域名上的证书的 CN 参数不匹配相应的 VirtualHost 配置中指令 ServerName 指定的值。

解决方案

可以安全地忽略此警告。 另外,可重新生成证书使其主题与该证书旨在保障安全的域名相匹配。
使用以下的命令列举服务器上可用的所有证书与其主题参数:
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/emailAddress=info@parallels.com
cert-lJYX22: subject= /C=ZW/ST=asdf/L=asdf/O=test/CN=www.mytestdomain.com/emailAddress=asdf@asdf.com


56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 33a70544d00d562bbc5b17762c4ed2b3 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065 9305481d3bd31663b68451e3bfdec5a5

Email subscription for changes to this article