Skip to content

r002/elastic-beanstalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Set up SSL certificate for single-instance Elastic Beanstalk

Here are the files described in:
https://medium.com/edataconsulting/how-to-get-a-ssl-certificate-running-in-aws-elastic-beanstalk-using-certbot-6daa9baa3997

Thank you so much to Marcos Escandell for writing everything up! 🙏🙏🙏

The article works! But the formatting (eg. indentations) got lost in the config snippets which are mandatory to make elastic beanstalk understand your configuration.

So I put a working version of everything here in this repo. Enjoy! Free SSL on EB for everyone! 😀

Final Result:

image


One gotcha:

If you are uploading from Windows, you will get this cryptic error (Stderr:/usr/bin/env: bash: No such file or directory):

image

It's because Windows uses different "End of Line" (EOL) characters than unix does.

You can easily fix the problem in Notepad++ for the \.platform\hooks\postdeploy\00_get_certificate.sh file:

image


Reference:

Releases

No releases published

Packages

No packages published

Languages