Created
October 1, 2019 00:55
-
-
Save DilwoarH/172f7b13e1862e71f7c7e0d0540c34ee to your computer and use it in GitHub Desktop.
This file contains 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
# Lets Encrypt - https://certbot.eff.org/lets-encrypt/ubuntubionic-apache | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository universe | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt-get update | |
sudo apt-get install certbot python-certbot-apache -y | |
sudo certbot certonly --apache | |
# enable ssl | |
sudo a2enmod ssl | |
sudo a2ensite default-ssl.conf | |
sudo systemctl reload apache2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment