Skip to content

Instantly share code, notes, and snippets.

@alinz
Last active May 11, 2017 01:35
Show Gist options
  • Select an option

  • Save alinz/304f0554215031733bd23015640a3208 to your computer and use it in GitHub Desktop.

Select an option

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