Skip to content

Instantly share code, notes, and snippets.

@devyfriend
Created January 31, 2022 05:08
Show Gist options
  • Save devyfriend/a9e921a9ed5226221735ada4ffa097cd to your computer and use it in GitHub Desktop.
Save devyfriend/a9e921a9ed5226221735ada4ffa097cd to your computer and use it in GitHub Desktop.
letsencrypt nginx ubuntu
sudo certbot certonly --manual --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges dns-01 -d "*.domain.id"
update dns txt name: _acme-challenge -> value from step 1
update nginx.conf to file .pem -> path from step 1
valid for 90 days
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment