Search code examples
amazon-web-servicesamazon-ec2ssl-certificateweb-hostingcloud-hosting

SSL certificate installation issue in AWS


I try to install the SSL certificate in my AWS ec2. Here are the steps which I follow.

1 - Request certificate from certificate manager services.

2 - Verify the certificate with the DNS method(Add Cname record in hosted zone of the domain).

3 - Make a load balancer and install the certificate in ec2 instance. 4 - Add .htaccess www and https redirect for the URL.

But when I open my website, it still shows 'Not Secure'. When I try to check the SSL certificate via 'Online SSL Checker'. I didn't find my certificate. It shows some error 'No SSL certificates were found on domain.com. Make sure that the name resolves to the correct server and that the SSL port (default is 443) is open on your server's firewall.'. Please help.


Solution

  • Please check the following

    • If there is a HTTPS listener in your load balancer
    • The security group attached to the load balancer allows HTTPS traffic from port 443
    • You have added a alias A Record in your domain name pointing to the dns hostname of your elastic load balancer