V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
islujw
V2EX  ›  macOS

macOS 自带 Apache 一设置 SSL 就打不开网页

  •  
  •   islujw · 2019-06-20 23:07:50 +08:00 · 1387 次点击
    这是一个创建于 1761 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 macOS Mojave 中配置了 Apache,并建立了一些虚拟主机,都可以正常访问网站。

    但只要一按照网上的配置 SSL 的步骤操作,启用几个模块,并配置 SSL,就无法再访问网站了。运行 sudo apachectl configtest 结果一直是 Syntax OK,但就是打不开网页,连网页错误提示都没有,直接就是浏览器说打不开。

    只要一禁用那几个模块,就可以打开了。

    请问该如何处理?

    2 条回复    2019-06-26 20:06:45 +08:00
    xiaooloong
        1
    xiaooloong  
       2019-06-21 15:59:15 +08:00
    openssl s_client -connect localhost:443 ?
    islujw
        2
    islujw  
    OP
       2019-06-26 20:06:45 +08:00
    @xiaooloong 不好意思,请问这是?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4630 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 05:33 · PVG 13:33 · LAX 22:33 · JFK 01:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.