Created
May 1, 2016 18:25
-
-
Save napolux/b362c248e6f7bea3dac682ce518bef4c to your computer and use it in GitHub Desktop.
Come installare Let's Encrypt su un virtualhost apache su una macchina ubuntu hostata da DigitalOcean
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
# Installa git | |
sudo apt-get update | |
sudo apt-get install git | |
# Clona il repo di letsencrypt.org | |
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
# Crea il certificato per il tuo dominio | |
cd /opt/letsencrypt | |
./letsencrypt-auto --apache -d tuodominio.it | |
./letsencrypt-auto --apache -d tuodominio.it -d www.tuodominio.it | |
# Imposta il rinnovo automatico | |
sudo crontab -e | |
# Aggiungere il rinnovo automatico al cron di sistema | |
30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment