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

2019-12-18 15:50:55 +08:00
 ThitBiu

架设了负载均衡,然后在宝塔配置了 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

2352 次点击
所在节点    SSL
5 条回复
ThitBiu
2019-12-18 15:51:51 +08:00
端口 443 已经放通,还是不行
xiri
2019-12-18 16:02:18 +08:00
这报错不是说的很清楚了吗,你正在使用 http 协议访问一个 https 端口。
比如通过下面这样的链接访问
http://domain:443/xxx
手动指定了 http 协议,但是又指定通过绑定了 https 服务的 443 端口访问
Buges
2019-12-18 16:12:20 +08:00
看样子你是在 80 端口起了 http 协议。
Buges
2019-12-18 16:13:02 +08:00
打错了,在 80 端口起了 https 协议
ThitBiu
2019-12-18 22:32:50 +08:00
终于搞定了。。。原来用腾讯云负载均衡设置了证书。后端服务器不用设置证书

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/630208

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX