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?

Django Reinhardt
  • 2,256
  • 3
  • 38
  • 55

1 Answers1

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.

Django Reinhardt
  • 2,256
  • 3
  • 38
  • 55