Skip to content

Instantly share code, notes, and snippets.

@alinz
Last active May 11, 2017 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alinz/304f0554215031733bd23015640a3208 to your computer and use it in GitHub Desktop.
Save alinz/304f0554215031733bd23015640a3208 to your computer and use it in GitHub Desktop.
creating let's encrypt certificate using docker and certbot standalone
docker run -it --rm -p 443:443 -p 80:80 --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" certbot/certbot certonly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment