浏览器是否会显示非 443 端口的 "Connection untrusted" 错误

Will the browsers show the "Connection untrusted" error for non 443 port

我想为网站https://domain.com:8097购买并申请证书(https,非默认端口443)。在这种情况下,浏览器是否会显示任何错误(例如,关于 Chrome 中不可信连接的红色通知)?

我问是因为线程中的这条评论 - Multiple websites on same IP with different ports withIIS

"@chopps - Btw, one problem I see is that the browsers are not happy communicating via SSL over a port other than 443. Technically, it's possible but they all have (IE, FF, Chrome) mechanisms to protect the user and balk at SSL traffic over something other than 443."

443端口忙,无法使用。请不要建议我购买新域名。我知道证书申请的是域名,不是端口,但我只是想确保浏览器在这种情况下能正常工作。

浏览器显示红色警告可能有很多原因,但不是因为端口不是443:

  • 证书主机名和网络域不匹配

  • 证书根 CA 不在浏览器信任库中

  • 服务器未提供认证链

  • 证书过期

  • ...

https 的默认端口是 443,但您可以使用任何空闲端口。您必须记住的是,如果不使用标准端口,您可能会遇到客户端防火墙的问题。例如,在公司网络中,通常只打开一小部分端口(例如 80 和 443),客户端连接到非标准端口将被拒绝

注意:关于您链接的评论,作者也在考虑OP是否有防火墙,最后他发布了包含

的答案

You can however can run SSL over a different port than 443 by simply adding a binding for https and a different port