HTTPS not working (on AWS Elastic Beanstalk based site)

前端 未结 2 1781
自闭症患者
自闭症患者 2020-12-28 15:44

The site works perfectly fine on HTTP, however, does not work on HTTPS. I\'ve followed all the steps on this page to create a self-signed certificate and add it to my Elasti

相关标签:
2条回答
  • 2020-12-28 16:15

    I want to provide an update that I was finally able to resolve the issue. The root-cause was because I missed to set up an Inbound Rule for the Security Group of the Load Balancer.

    For whatever reason, when I read the documentation, I understood that the Inbound Rule needed to be set up for the Security Group of the Instance (and not the Load Balancer). Only after I started tracing the Load Balancer did I realize that I should perhaps try setting up the Rule for the Security Group of the Load Balancer. So, the problem is resolved. Below is the setting I used.

    HTTPS           443     HTTP        80      <name of the certificate>
    

    I'd have to say that the documentation could be a bit more clear to clearly identify the change required to the Security Group of the Load Balancer (and not the Instance).

    0 讨论(0)
  • 2020-12-28 16:26

    Amazon recently released AWS Certificate Manager :

    • Go to https://console.aws.amazon.com/acm/home
    • Add your domain and validate it by email
    • After the certificate is issued, deploy it to your Elastic Load Balancers following the steps (and easily setup your security groups)

    It's event better for a performance point of view:

    Because ELB supports SSL offload, deploying a certificate to a load balancer (rather than to the EC2 instances behind it) will reduce the amount of encryption and decryption work that the instances need to handle.

    follow the doc for more information:

    https://aws.amazon.com/fr/blogs/aws/new-aws-certificate-manager-deploy-ssltls-based-apps-on-aws/

    0 讨论(0)
提交回复
热议问题