Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.