Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Last active September 27, 2018 00:29
Show Gist options
  • Save rms1000watt/874a26fb76dd93104893bd3e200eb87a to your computer and use it in GitHub Desktop.
Save rms1000watt/874a26fb76dd93104893bd3e200eb87a to your computer and use it in GitHub Desktop.
Lets Encrypt Wildcard Certs with DNS Authentication
#!/usr/bin/env bash
mkdir /tmp/etc-letsencrypt
docker run -it --rm -v /tmp/etc-letsencrypt:/etc/letsencrypt certbot/certbot certonly --manual --preferred-challenges dns-01
cp -R /tmp/etc-letsencrypt ~/etc-letsencrypt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment