Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Manually renew letsencrypt certificate

Clone the letsencrypt cli.

git clone
cd letsencrypt

Request a new certificate for your domain manually.

./letsencrypt-auto certonly -a manual -d

This install dependencies, prompt a few things and finally output something like this:

Create a file containing just this data:


And make it available on your web server at this URL:

Do exactly as told.

If you are using hugo as CMS, simply create the file and folder strucuture inside the static folder.

Check with curl before moving on with the challenge.


Finish the challenge and you should find the certs and key here: /etc/letsencrypt/live/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment