【问题标题】:Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error错误 107 (net::ERR_SSL_PROTOCOL_ERROR):SSL 协议错误
【发布时间】:2012-09-14 10:27:17
【问题描述】:

我已经在我的 tomcat 上配置了 SSL。我参考了以下站点的步骤来配置 SSL:

 http://wiki.openbravo.com/wiki/How_To_Configure_SSL_For_Windows

我正在使用 Win32 OpenSSL v0.9.8x Light 安装程序和 tomcat 7.0.22。但是当我访问https://server.ensarm.com:8843/ 时会出现以下错误:

SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.

我不明白可能是什么问题。 :(

【问题讨论】:

    标签: ssl openssl tomcat7


    【解决方案1】:

    检查您的 Apache 错误日志,看看它是否有类似以下的消息:

    您在标准 HTTPS(443) 端口上配置了 HTTP(80)!

    这可能表明您已将 Apache 配置为在 SSLEngine 未打开时侦听端口 443。

    httpd.conf 中只设置了一个监听指令:

    听 *:80

    稍后在 httpd.conf 中,您应该有如下内容:

    <IfModule ssl_module>
    Include conf/httpd-ssl.conf
    </IfModule>
    

    httpd-ssl.conf(或等效的配置文件)中,确保您在 Listen 指令之前启用了 SSLEngine:

    SSLEngine on
    listen *:443
    

    重启 Apache 就可以了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-14
      • 2013-01-24
      • 2016-02-01
      • 2015-11-27
      • 2020-04-19
      • 1970-01-01
      • 1970-01-01
      • 2017-04-29
      相关资源
      最近更新 更多