我有一个使用 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/