SSL Cert showing red padlock

0

Hi All, when I type the following into my browser http://knowyoursubject.com I am still getting the red padlock saying connection is not secure when I have set up an SSL cert and also set up www.knowyoursubject.com

1 Answer
0

Hello,

It looks like port 443 (HTTPS) is not open to the internet on your website or your web server is not actively listening on port 443. Please ensure that Port 443 is open on your Security Group to 0.0.0.0/0 and that your web server is configured to accept connections on Port 443.

Depending on if your website is running on Lightsail, Elastic Beanstalk or EC2 the configuration settings may be slightly different.

Edit: Since you mentioned using S3 to host the static website in the comments, S3 does not support HTTPS/SSL. You must use CloudFront in front of the S3 static website to utilize SSL.

For more information, see How do I use CloudFront to serve a static website hosted on Amazon S3? and Requiring HTTPS for communication between viewers and CloudFront.

profile pictureAWS
EXPERT
Chris_G
answered 2 years ago
  • Thanks Chris_G, I am using S3 to host my static website.

  • @rePost-User-6031711 S3 does not support SSL/HTTPS sites by default, you must front the website with CloudFront to use SSL/HTTPS. I'll update the answer with relevant documentation.

  • Thanks Chris_G Yes I am using Cloudfront. I have been reading the documentation and went to Edit Behavior, then on Viewer Protocol Policy made the selection for Redirect HTTP to HTTPS and then Allow HTTP methods to GET, HEAD.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions