Create a gist now

Instantly share code, notes, and snippets.

@jaemyeong /certbot.sh Secret
Created Mar 18, 2018

Embed
What would you like to do?
docker run --rm -it \
--mount type=bind,src=$(pwd)/certs,dst=/etc/letsencrypt \
--mount type=bind,src=$(pwd)/digitalocean.ini,dst=/digitalocean.ini \
certbot certonly --dns-digitalocean --dns-digitalocean-credentials /digitalocean.ini \
--server https://acme-v02.api.letsencrypt.org/directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment