Skip to content

Instantly share code, notes, and snippets.

@darkmavis1980
Last active September 25, 2021 11:14
Show Gist options
  • Save darkmavis1980/41025a87ed369adf7e24dc2b02224c96 to your computer and use it in GitHub Desktop.
Save darkmavis1980/41025a87ed369adf7e24dc2b02224c96 to your computer and use it in GitHub Desktop.
Renew Certbot certificate
# renew with dry run
certbot renew --dry-run
# get challenge
certbot -d domain.com --manual --preferred-challenges dns certonly
# install certificate
certbot --nginx -d domain.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment