11

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?

1 Answer 1

10

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.

5
  • Django. Thank you for posting the solution. I have ran into this gotcha several times. Commented Nov 7, 2017 at 16:34
  • Thank you very much! I've been struggling with this stupid region auto-switch for 2 hours! Commented Dec 14, 2017 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. Commented Mar 18, 2018 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. Commented Jul 7, 2018 at 14:00
  • @Half_Duplex Top right corner on every page Commented Jul 8, 2018 at 11:44

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.