Skip to content

Instantly share code, notes, and snippets.

@DilwoarH
Created October 1, 2019 00:55
Show Gist options
  • Save DilwoarH/172f7b13e1862e71f7c7e0d0540c34ee to your computer and use it in GitHub Desktop.
Save DilwoarH/172f7b13e1862e71f7c7e0d0540c34ee to your computer and use it in GitHub Desktop.
# 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