Apache SSL不接受外部stream量

在Amazon EC2中的Ubuntu 11上运行Apache 2。 尝试通过执行以下操作来添加新的SSL VirtualHost:

在“ports.conf”中添加“Listen 443”。 在启用的站点中添加了新的VirtualHost,并在“SSLEngine on”中添加了。

奇怪的是:我可以curlhttps://localhost并得到一个响应,但我不能curl从远程服务器的我的httpsurl。

Netstat显示它正在443:

 # netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1923/apache2 tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1923/apache2 tcp6 0 0 :::22 :::* LISTEN 482/sshd 

但是,如果我从另一个并置的EC2框中映射内部IP ,则显示只有端口22和80处于打开状态:

 $ nmap -P0 xx.xxx.xx.xx Starting Nmap 5.21 ( http://nmap.org ) at 2013-02-23 09:48 UTC Nmap scan report for xxx Host is up (0.00058s latency). Not shown: 998 filtered ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 3.98 seconds 

另外,我已经validationufw是禁用的,并且在iptables中没有条目。

任何人都可以提供如何解决这个问题的build议? 提前致谢!

您的EC2实例的AWS安全组是否允许入站443? 它需要为HTTPSstream量工作。

这听起来可能是你的问题给我!