开发者社区> 问答> 正文

配置ssl,http正常,https访问显示此网站无法提供安全连接

[font=&]申请的是阿里免费的证书,配置ssl后,http正常访问,https访问显示:此网站无法提供安全连接,不知道问题出在哪里了? [font=&]求帮忙看看!
[font=&]服务器ecs+windows2008+wampserver+apache
[font=&]

[font=&]httpd.conf 文件配置如下:
[font=&]LoadModule ssl_module modules/mod_ssl.so
[font=&]Include conf/extra/httpd-ssl.conf
[font=&]

[font=&]httpd-ssl.conf 文件配置如下:
[font=&]SSLProtocol all -SSLv2 -SSLv3
[font=&]SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM、
[font=&]SSLHonorCipherOrder on
[font=&]

[font=&]<VirtuallaHost ip:443>
[font=&]ServerName 网址
[font=&]DocumentRoot  "D:\wamp\www"
[font=&]

[font=&]SSLCertificateFile "D:wamp/bin/apache/apache2.4.9/cert/证书名字_public.crt“
[font=&]SSLCertificateKeyFile "D:wamp/bin/apache/apache2.4.9/cert/证书名字_a.key“
[font=&]SSLCertificateChainFile "D:wamp/bin/apache/apache2.4.9/cert/证书名字_chain.crt“ [font=&]
[font=&]

[font=&]443端口,防火墙和安全组规则都配置了,如下:
[font=&]

[font=&]

展开
收起
林大大小小 2019-03-09 17:21:47 10065 0
3 条回答
写回答
取消 提交回答
  • 回 1楼dongshan8的帖子
    1、在ECS里的浏览器,加上https也不能访问。

    2、apache日志:
    [Mon Mar 11 22:25:37.607636 2019] [mpm_winnt:notice] [pid 3004:tid 336] AH00422: Parent: Received shutdown signal -- Shutting down the server.
    [Mon Mar 11 22:25:39.669239 2019] [mpm_winnt:notice] [pid 3000:tid 240] AH00364: Child: All worker threads have exited.
    [Mon Mar 11 22:25:44.110816 2019] [mpm_winnt:notice] [pid 3004:tid 336] AH00430: Parent: Child process 3000 exited successfully.
    [Mon Mar 11 22:25:49.340509 2019] [mpm_winnt:notice] [pid 3124:tid 336] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g PHP/5.5.12 configured -- resuming normal operations
    [Mon Mar 11 22:25:49.340509 2019] [mpm_winnt:notice] [pid 3124:tid 336] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
    [Mon Mar 11 22:25:49.340509 2019] [core:notice] [pid 3124:tid 336] AH00094: Command line: 'D:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/wamp/bin/apache/apache2.4.9'
    [Mon Mar 11 22:25:49.353205 2019] [mpm_winnt:notice] [pid 3124:tid 336] AH00418: Parent: Created child process 3172
    [Mon Mar 11 22:25:50.525125 2019] [mpm_winnt:notice] [pid 3172:tid 240] AH00354: Child: Starting 64 worker threads.

    3、不知道配置哪里出了问题
    2019-03-11 22:14:58
    赞同 展开评论 打赏
  • 回 楼主林大大小小的帖子
    11
    2019-03-10 20:08:16
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    您好,

    错误提示, Error code: SSL_ERROR_RX_RECORD_TOO_LONG

    是不是apache的https没有配置好呢?

    在ECS里的浏览器能正常访问吗?

    apache日志里有相关的错误提示信息吗?

    -------------------------

    回 3楼(林大大小小) 的帖子
    您好,

    我没用过 wamp,但和phpstudy可能差不多。

    可参考一下这个帖子:《在 Windows 2008 系统为 phpstudy apache 不同网站配置不同SSL证书(SNI)》- https://bbs.aliyun.com/read/304092.html?
    2019-03-09 18:40:34
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里巴巴HTTP 2.0实践及无线通信协议的演进之路 立即下载
CDN助力企业网站进入HTTPS时代 立即下载
低代码开发师(初级)实战教程 立即下载