Certbot does not override cert.pem and privkey.pem just add more itens when renew

Example in the folder that contains the certificate:

cert1.pem 
cert2.pem
cert3.pem
....
certn.pem

i just want to make always same name as:

cert1.pem or cert.pem

and override automatically

is it possible?

Note: add more itens when renew the certificate

1 Like

No, Certbot doesn’t have a setting to do that.

Why do you ask?

You should use the symlinks such as /etc/letsencrypt/live/example.com/cert.pem rather than directly using stuff in /etc/letsencrypt/archive/.

1 Like

Pointing my route to symlinks does not work. The certificate does not load. Im using Windowns 10 because a delphi datasnap application.

1 Like

That is weird but I don’t know enough about Windows to know where to place the blame.

Perhaps you could use a --deploy-hook script to create a copy of the current symlink contents at a fixed location.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.