Editing
Elastic Beanstalk Security Certificates Archived November 2020
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Installing `certbot` === <p class="alert alert-warning">WARNING! These instructions describe how to install `certbot-auto` which is a script that allows for automated execution of `certbot` installation of Let's Encrypt security certificates. `certbot-auto` is not supported on Amazon Linux 2 as of mid-2020.</p> [https://certbot.eff.org/docs/using.html#certbot-commands Certbot Commands] documentation `certbot` is a command line script that will install Let's Encrypt certificates and configure the current web server to recognize the certificates in order to serve https requests. Let's encrypt certificates typically are stored in `.pem` files located in `/etc/letsencrypt/live/mydomain.com`. Also the server's config file must be updated in order store the location of the certificate files. A typical path for this file is `/etc/httpd/conf.d/ssl.conf`. ==== Installing `certbot` from the command line ==== <pre> $ mkdir -p /opt/certbot $ wget https://dl.eff.org/certbot-auto -O /opt/certbot/certbot-auto $ chmod a+x /opt/certbot/certbot-auto </pre> ==== Installing `certbot` in `.ebextensinos` ==== The above commands likely would require `sudo` on the command line. The best location for this configuration is in a `.ebextensions` config file with something like this: <syntaxhighlight lang="yaml"> 20_install_certbot: command: "mkdir -p /opt/certbot && wget https://dl.eff.org/certbot-auto -O /opt/certbot/certbot-auto && chmod a+x /opt/certbot/certbot-auto" </syntaxhighlight>
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information