linux - 尝试连接到 http 服务器 (apache) 时出现 ssl 错误

标签 linux apache ssl openssl ssl-certificate

我有一个使用 ssl 连接到 apache 服务器的 https 客户端。

当客户端尝试通过 https 连接到 apache 服务器时,出现以下错误:

SSL Library Error: 336151570 error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate Subject CN in certificate not server name or identical to CA!?

可能是什么问题以及如何解决?

最佳答案

Subject CN in certificate not server name or identical to CA!?

您的证书与您访问的主机名不匹配。根据 [SSLLabs]( https://www.ssllabs.com/ssltest/analyze.html ).

关于linux - 尝试连接到 http 服务器 (apache) 时出现 ssl 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29238447/

相关文章:

linux - Bash 脚本变量替换

linux - 在大量 diff 文件上从 vimdiff 中断

linux - zabbix 前端 web 界面给出错误 404 (ubuntu server 14.04)

c# - WCF 服务器接受 TLS 1.0 连接

java - 在 Tomcat 7 64 位 jre6 上禁用 SSLv3

linux - 查找 sendmail 版本(sSMTP 或 Postfix 或其他)

linux - 用于内容为空的文件的 diff 命令

php http GET命令不起作用

javascript - Apache Mod 过期了,如何调试?

同一请求中的 SSL 固定