Last active
September 23, 2018 13:17
-
-
Save useless-stuff/b98f2804e39fe68932e7 to your computer and use it in GitHub Desktop.
TLS/SSL - Let's Encrypt free SSL certificate install script
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 | |
| 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