我试图在GCE上启用Tomcat上的SSL。
https://certbot.eff.org/#ubuntutyakkety-apache
https://www.ssllabs.com/ssltest/analyze.html?d=mydomain.com
它检查过了。
https://community.letsencrypt.org/t/how-to-use-the-certificate-for-tomcat/3677
我的server.xml中的连接器如下所示:
<Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol"
URIEncoding="UTF-8" maxThreads="150" SSLEnabled="true" scheme="https"
secure="true" clientAuth="false" sslProtocol="TLS"
keystoreFile="/home/me/certs/MyKeystore.jks"
keystorePass="password" keyAlias="tomcat" keyPass="password"/>重新启动Tomcat之后,当我转到https + ://www.mydomain.com时,浏览器不信任证书,它说
The requested URL was not found on this server.我在我的设计中遗漏了什么?端口443是根据防火墙规则启用的,我已经检查了“允许HTTPS通信量”。如果我不包括这个连接器,URL可以通过HTTP访问。
发布于 2017-12-12 17:24:53
在google云平台>> google计算引擎中,在VM的属性中,在会话防火墙中启用HTTPS。
https://stackoverflow.com/questions/43403299
复制相似问题