Access the site via HTTPS - AWS

2

I am having doubts about accessing the site using the HTTPS protocol for the domains in my hosting.

I uploaded a Linux T2.micro São Paulo (Amazon ECS) instance. I have already done the procedure to acquire the certificate (ACM) and its status is 'Issued'. I also configured CloudFront and its status is 'Deployed' and enabled the Apache2 SSL (sudo a2ensite default-ssl). However, when accessing the site using HTTPS, it says that the site is not secure, it gets HTTPS streaked red.

In this same instance I have other sites (different domains) and would like to enable HTTPS for them too. What is missing or what am I doing wrong? Most of the tutorials I found are superficial and have no step-by-step details ...

Hugs to all!

    
asked by anonymous 14.11.2018 / 20:53

2 answers

0

After several attempts and reconfigurations, Professor Francisco Edilton (Cloud Architect) discovered the error! Missing domain pointing to Load Balancer. Replaces instance IP pointing to Load Balancer and success!

Thank you all!

    
27.11.2018 / 01:26
1

I would recommend that you use Letsencrypt or CertBot to generate HTTPS certificates. In order for you to start the certificate, you must use depending on your site, Apache or Nginx in order to properly configure the certificates. Remember that all settings, since you are using a micro instance, should be performed on the terminal with sudo command preferably.

    
14.11.2018 / 22:22