Skip to content

Instantly share code, notes, and snippets.

@useless-stuff
Last active September 23, 2018 13:17
Show Gist options
  • Select an option

  • Save useless-stuff/b98f2804e39fe68932e7 to your computer and use it in GitHub Desktop.

Select an option

Save useless-stuff/b98f2804e39fe68932e7 to your computer and use it in GitHub Desktop.
TLS/SSL - Let's Encrypt free SSL certificate install script
#!/bin/bash
a2enmod ssl -y
apt-get update -y
apt-get install git -y
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt
./letsencrypt-auto --apache -d domain.com -d domain.com -d domain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment