Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误107(网络::错误SSL协议错误):SSL协议错误_Ssl_Openssl_Tomcat7 - Fatal编程技术网

错误107(网络::错误SSL协议错误):SSL协议错误

错误107(网络::错误SSL协议错误):SSL协议错误,ssl,openssl,tomcat7,Ssl,Openssl,Tomcat7,我已经在tomcat上配置了SSL。我参考了以下站点中的步骤来配置SSL: http://wiki.openbravo.com/wiki/How_To_Configure_SSL_For_Windows 我正在使用Win32 OpenSSL v0.9.8x Light安装程序和tomcat 7.0.22。但当我访问时,它会出现以下错误: SSL connection error Unable to make a secure connection to the server. This ma

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

 http://wiki.openbravo.com/wiki/How_To_Configure_SSL_For_Windows
我正在使用Win32 OpenSSL v0.9.8x Light安装程序和tomcat 7.0.22。但当我访问时,它会出现以下错误:

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.

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

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

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

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

在httpd.conf中,仅设置一个listen指令:

SSLEngine on
listen *:443
听*:80

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

<IfModule ssl_module>
Include conf/httpd-ssl.conf
</IfModule>
重新启动Apache,您就可以开始了