Search code examples
rubyamazon-web-servicessslpassengeramazon-elastic-beanstalk

configure SSL for Elasticbeanstalk single instance Passenger


I have tried everything to enable SSL for my single instance on Elasticbeanstalk i have followed the link given on AWS for configuring it with Passenger. AWS Link for Passenger , I have deployed my ssl branch over elasticbeanstalk and Everything is updated also health of ENV is green but yet , i didnt find any change in Load Balancer.

Any help will be appreciated!


Solution

  • seems like you've used the wrong documentation. as you're using a load balanced environment you need to follow the instructions here:
    http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html

    It's actually easier, as you let beanstalk load balancer full control over the HTTPS. The steps are:
    1. upload your key via aws iam upload-server-certificate
    2. go to the beanstalk web console and in the load-balancer section pick that uploaded key
    3. that's it - you are now set with HTTPS
    (all of this is detailed in the documentation mentioned above)