我的托管服务告诉我将我的 SSL 端口从 443 更改为 8443,因为 OpenSSL 测试失败,即使它们正在生产中工作。
我将我的 apacheports.conf
文件更改为:
NameVirtualHost *:80
#NameVirtualHost *:443
NameVirtualHost *:8443
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
#Listen 443
Listen 8443
</IfModule>
<IfModule mod_gnutls.c>
#Listen 443
Listen 8443
</IfModule>
我还将虚拟主机从 更改<VirtualHost *:443>
为<VirtualHost *:8443>
并重新启动了 apache,但是当我尝试通过 https 访问该站点时,浏览器显示:Firefox can't establish a connection to the server
. 会不会是防火墙问题?