HTTPS does not work in Google Compute Engine

I would like to know if anyone has experience with SSL and HTTPS on an instance of Google Compute Engine (not GAE). I was unable to use HTTPS with my site: browsers and online testing tools cannot connect to my server.

My environment is ubuntu-1404-trusty-v20141212 and Tomcat 8.

Here is what I did:

  • I noted "allow HTTP" and "allow HTTPS traffic" in the network settings of the instance
  • Installed my Comodo certificates for $ 4.
  • Used as a connector configuration server.xmlwith only the key store and password added

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/etc/ssl/private/tomcat.keystore" keystorePass="password" />

I get the above error when I start Tomcat and go to https://mysite.com:8443. Some diagnostic operations:

  • The magazine catalina.outsays nothing serious.
  • netstat -ntlp |grep :8443

    tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 8500/java , tomcat 8443

, AWS EC2 SSL-. - . , SSL GCE, .

+1
1

. , - . HTTPS- GCE - 443, 8443. , :

Google Developers Console- > Engine- > Networks- > - > .

, default-allow-https

+6

Source: https://habr.com/ru/post/1614743/


All Articles