Skip to content

Instantly share code, notes, and snippets.

@mikehins
Last active December 8, 2023 01:20
Show Gist options
  • Save mikehins/7093bad0ba196751a07ca8cf8145135e to your computer and use it in GitHub Desktop.
Save mikehins/7093bad0ba196751a07ca8cf8145135e to your computer and use it in GitHub Desktop.
certbot -d '*.hins.dev' --manual --preferred-challenges dns certonly
sudo chmod 0755 /etc/letsencrypt/
sudo chmod 0711 /etc/letsencrypt/live/
sudo chmod 0750 /etc/letsencrypt/live/hins.dev/
sudo chmod 0711 /etc/letsencrypt/archive/
sudo chmod 0750 /etc/letsencrypt/archive/hins.dev/
sudo chmod 0640 /etc/letsencrypt/archive/hins.dev/{cert,chain,fullchain}*.pem
sudo chmod 0640 /etc/letsencrypt/archive/hins.dev/privkey*.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment