Skip to content

Instantly share code, notes, and snippets.

@emtudo
Created December 30, 2016 01:17
Embed
What would you like to do?
#!/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