Created
January 9, 2018 20:36
-
-
Save ryanpadilha/bc5c4ddad744a5edebdbf56e63ec38e5 to your computer and use it in GitHub Desktop.
Certbot is part of EFF’s effort to encrypt the entire Internet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Installation of Certbot for Ubuntu 16.04 (xenial) | |
# https://certbot.eff.org/#ubuntuxenial-nginx | |
add-apt-repository ppa:certbot/certbot | |
apt-get update | |
apt-get install -y software-properties-common | |
apt-get install -y python-certbot-nginx | |
# get a certificate and edit Nginx configuration automatically | |
certbot --nginx | |
# make the changes to your Nginx configuration by hand | |
certbot --nginx certonly |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment