Update cert counts number of certfile

Hello,
i have following problem.
Even i update my cert "certbot-auto certonly --standalone -n --text --agree-tos --expand --server https://acme-v02.api.letsencrypt.org/directory --rsa-key-size 4096 --email "
certbot always creates a new folder domain-000X in "/etc/letsencrypt/live"
I do not know witch folder is created because my script execute this command.
Does anyone can tell me how my script can figure out the actually path or how i can tell cerbot to not create a new folder?

Thanks a lot
Best regards
Tobias

1 Like

First, certbot-auto is deprecated for a long time

You can use the --cert-name option to specify the folder name for output

Use this command to see your certbot folders

certbot certificates

https://eff-certbot.readthedocs.io/en/stable/using.html#certbot-command-line-options

3 Likes

That means the names requested for the new cert don't exactly match the previous cert and using--expand hasn't helped overcome it.

3 Likes

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