Created
December 30, 2016 01:17
-
-
Save emtudo/f35b7e9e09eac96c5ae4b5db39ecd250 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
DIR="/DIRETORIO_ROOT_DO_SEU_SITE" | |
EMAIL="SEU-EMAIL@SEU-DOMINIO.COM" | |
DOMINIO="SEU-DOMINIO.COM" | |
sudo ./certbot-auto certonly --webroot --webroot-path \ | |
${DIR} \ | |
--renew-by-default --email ${EMAIL} --text --agree-tos \ | |
-d ${DOMINIO} \ | |
-d www.${DOMINIO} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment