Skip to content

Instantly share code, notes, and snippets.

@useless-stuff
Created February 18, 2016 20:26
Show Gist options
  • Select an option

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

Select an option

Save useless-stuff/6033aea4784ce21f015d 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 anniballo.com -d diego.anniballo.com -d www.anniballo.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment