ThitBiu
V2EX  ›  SSL

架设了负载均衡,配置 SSL 无法访问,求大神

  •  
  •   ThitBiu · Dec 18, 2019 · 3322 views
    This topic created in 2380 days ago, the information mentioned may be changed or developed.

    架设了负载均衡,然后在宝塔配置了 SSL 证书,访问域名不会跳转到 443 端口。不知道哪没设置对,访问提示错误: Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please. Apache Server at SSL.网址.com Port 80

    5 replies    2019-12-18 22:32:50 +08:00
    ThitBiu
        1
    ThitBiu  
    OP
       Dec 18, 2019
    端口 443 已经放通,还是不行
    imkuang
        2
    imkuang  
       Dec 18, 2019 via Android   ❤️ 1
    这报错不是说的很清楚了吗,你正在使用 http 协议访问一个 https 端口。
    比如通过下面这样的链接访问
    http://domain:443/xxx
    手动指定了 http 协议,但是又指定通过绑定了 https 服务的 443 端口访问
    Buges
        3
    Buges  
       Dec 18, 2019 via Android   ❤️ 1
    看样子你是在 80 端口起了 http 协议。
    Buges
        4
    Buges  
       Dec 18, 2019 via Android
    打错了,在 80 端口起了 https 协议
    ThitBiu
        5
    ThitBiu  
    OP
       Dec 18, 2019
    终于搞定了。。。原来用腾讯云负载均衡设置了证书。后端服务器不用设置证书
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3138 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 12:17 · PVG 20:17 · LAX 05:17 · JFK 08:17
    ♥ Do have faith in what you're doing.