运行绑定到端口 80 的 Web 服务通常不需要 sudoer 权限。既然80/443端口是系统端口,也就是说只有特权用户才能使用,那么为什么这些服务还能绑定到这些端口呢?
这是我第一次设置服务器,我刚刚安装了 SSL 证书。我还对 iptable 进行了一些更改以允许访问 443。以下是iptables -L的输出
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:urd
REJECT all -- anywhere anywhere reject-with …
Run Code Online (Sandbox Code Playgroud) 我刚刚在我的 AWS 实例(运行 Linux AMI)上将 Apache 更新到 2.4.3。更新完成后,Apache 崩溃并显示以下内容:
Starting httpd: AH00526: Syntax error on line 5 of /etc/httpd/conf.d/ssl.conf:
Cannot define multiple Listeners on the same IP:port
Run Code Online (Sandbox Code Playgroud)
我进入上述文件并注释掉第 5 行:#Listen 443
,因为新文件httpd.conf
包含已设置上述侦听器的行:
httpd.conf:
40 ...
41 #Listen 12.34.56.78:80
42 Listen 80
43 Listen 443
44
45 ...
Run Code Online (Sandbox Code Playgroud)
我的问题是,如果我在 VirtualHost 的配置文件中单独配置 SSL 证书,我可以注释掉 httpd/conf.d/ssl.conf 中的每一行吗?我的意思是,将其包括在内仍然很重要吗?为什么 Apache 2.4.3 设置Listen 443
两次?
谢谢!
我有两个域:domain1.com 和 domain2.com。我还有两个 GoDaddy SSL 证书(每个域一个证书)。我只有一个IP。我在工作组中的 Windows Server 2008 R2 独立服务器上运行 IIS 7,而不是域。
如何将每个证书绑定到适当的域?
如何在网络中使用端口 80 和 443 时阻止 SKYPE。(如果我可以通过使用 ISA 2006 并且不禁用 Web 来做到这一点会更好)我知道如果用户无法安装 Skype,他们将无法使用它。所以没有那个?
是否可以通过端口 443连接到 HTTP URL(例如,http://www.asdfg.com)?
还是只有 HTTPS URL(例如https://www.asdfg.com)可以通过端口 443 连接?
我有一个代理服务器配置为仅允许通过端口 443。当我尝试连接到 HTTP URL 时,我得到一个504 Gateway Timeout error
.
如果我将 URL 中的“http”更改为“https”并尝试在没有代理的情况下进行连接,则会收到消息“未找到请求的资源”。
这种行为的原因是什么?
(这里有很多类似的问题,但我的问题很直接。)
port-443 ×6
ssl ×3
apache-2.4 ×1
centos ×1
firewall ×1
http ×1
httpd.conf ×1
https ×1
iis ×1
iis-7 ×1
isa-server ×1
nginx ×1
permissions ×1
port ×1
port-80 ×1
service ×1
virtualhost ×1