Apache 服务器上不应该存在密钥不匹配的情况

Apache 服务器上不应该存在密钥不匹配的情况

所以我尝试过处理这方面的支持,但没有成功。他们确认我的证书和私钥匹配。

我的 FQDN 也与证书中的相同 - 我在这里将其称为“domainname.com”。

我正在使用 Ubuntu 12.04 和 Apache 2.2(我知道,旧的。我很快就会升级)。

我收到此错误:

[Mon Jul 17 23:40:23 2017] [warn] RSA server certificate CommonName (CN) `domainname.com' does NOT match server name!?
[Mon Jul 17 23:40:23 2017] [warn] RSA server certificate CommonName (CN) `domainname.com' does NOT match server name!?
[Mon Jul 17 23:40:23 2017] [warn] RSA server certificate CommonName (CN) `domainname.com' does NOT match server name!?
[Mon Jul 17 23:40:23 2017] [warn] RSA server certificate CommonName (CN) `domainname.com' does NOT match server name!?
[Mon Jul 17 23:40:23 2017] [error] Unable to configure RSA server private key
[Mon Jul 17 23:40:23 2017] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

然而:

/var/log/apache2# hostname
domainname.com

Comodo 和我自己都测试了证书和私钥并且它们匹配(我自己在这里:https://www.sslshopper.com/certificate-key-matcher.html)。

我想知道是否可能是 SSLCertificateChainFile 文件。

我使用以下命令创建它:

cat COMODORSAAddTrustCA.crt COMODORSADomainValidationSe cureServerCA.crt AddTrustExternalCARoot.crt > 82370186.ca-bundle

这里可能发生了什么我没有测试过的事情?

相关内容