6

I've created a new SSL Certificate using AWS's service for a subdomain that points to an Elastic Beanstalk instance. It appears in the Certificate Manager correctly...

enter image description here

but it doesn't appear in the EB instance's Load Balancer dropdown...

enter image description here

According to the documentation (Configuring Your Elastic Beanstalk Environment's Load Balancer to Terminate HTTPS), all I need to do is "choose your certificate from the SSL certificate ID drop down menu", but it's not there.

I've tried to add the SSL certificate through a .config file using CLI and I got the following error:

ERROR: Service:AmazonCloudFormation, Message:Stack named 'awseb-e-upxkf5kr8b-stack' aborted operation. Current state: 'UPDATE_ROLLBACK_IN_PROGRESS' Reason: null ERROR: Updating load balancer named: awseb-e-u-AWSEBLoa-xxx failed Reason: Server Certificate not found for the key: arn:aws:acm:eu-west-1:xxx:certificate/xxxx

What have I done wrong?

6

The answer was rather silly. A little gotcha: I didn't notice that I'd changed my region when I created the SSL Certificate, so the ELB and the certificate regions didn't match.

I deleted the cert, switched region to match my ELB instance, and then requested a new one. Worked as expected! Doh.

  • Django. Thank you for posting the solution. I have ran into this gotcha several times. – John Hanley Nov 7 '17 at 16:34
  • Thank you very much! I've been struggling with this stupid region auto-switch for 2 hours! – DeadEye Dec 14 '17 at 15:51
  • Turned out to be the same problem for me. This is weird as the original certificate worked in all regions for CloudFront. – realMarkusSchmidt Mar 18 '18 at 15:44
  • I am facing the same issue. The LetsEncrypt cert I imported doesn't show up, but I see nowhere to set the region. – Half_Duplex Jul 7 '18 at 14:00
  • @Half_Duplex Top right corner on every page – Django Reinhardt Jul 8 '18 at 11:44

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.