EC2 实例 运行 apache tomcat 端口 8443 无法访问

EC2 instance running apache tomcat port 8443 not accessible

我有一台 AWS EC2 ubuntu 14.04 机器,那台机器上安装了 apache tomcat 7。 我在 apache tomcat7 上部署了一个 Web 应用程序并启动了服务器,我遇到了一个问题,即无法使用端口 8080 从外部访问 EC2 机器 运行 apache tomcat7。 然后我认为我们必须 https://serverfault.com/questions/666338/ec2-instance-running-apache-tomcat-not-accessible-from-outside/731513#731513 执行 link 中存在的此操作,然后端口 8080 工作。

现在的问题是 SSL 端口 8443 不起作用,如果我以这种方式访问​​我的 Web 应用程序 https://{ipaddress}:8443。

注意 - 我已经使用 java keytool 生成了证书并在 Tomcat server.xml

中进行了配置
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS" keystoreFile="/home/ubuntu/mycert.crt"
           keystorepass="*****" keyAlias="tomcat" />

还有我的 EC2 安全组入站配置

谁能告诉我我做错了什么?

查看 Catalina.out 日志后,我发现了问题,即在上面提到的 tomcat7 中,属性 被命名为 "keystorePass"(P 在 keystorePass 中是大写)但是在 tomcat6 "keystorepass" 中也可以。 由于这个问题,密码设置不正确。