ThitBiu
V2EX  ›  SSL

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

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