Install Wildcard SSL Certificate on AWS Elastic Beanstalk
Asked Answered
Q

1

5

I'm not the most advanced AWS user there is, and have come across a bit of a roadblock.

I've got 2 Elastic Beanstalk Environments, each with a Load Balancer, 2 EC2 instances and they share a RDS instance. One environment is for Development and the other for Production.

I have purchased a wildcard SSL certificate from Thawte, and would like to install it on both the Development and Production environments. I've gone through other threads about adding SSL certificates in AWS, but the admin interface has changed since they were written so I've been going round in circles trying to figure it out.

Also, do I install the same SSL certificate on both Load Balancers? Or is it a case of only having one load balancer and redirecting traffic depending on the domain?

Thanks

Quidnunc answered 9/4, 2015 at 9:21 Comment(0)
R
7

You will need two load balancers, one for each environment. For uploading the certificate, it sounds like you are creating your Beanstalk environment through the console. In that case, after you create the environment, go to the EC2 tab, then 'Load Balancers', then 'Listeners'. Edit that, change the protocol to https. You'll see there is a place to change the certificate:

change ssl cert

That will give you a place to upload the certificate:

upload cert

Now that the cert is there, you can use the Elastic Beanstalk configuration to change future environments to use that cert:

network tier config

Ranitta answered 9/4, 2015 at 18:50 Comment(1)
Thanks, you're response led me to an answer, the cert chain was slipping me upQuidnunc

© 2022 - 2024 — McMap. All rights reserved.