Certbot `/renewal` files

I have a question about the /renewal files, as I work on some tools:

1- If the directory for a certificate received a numbered suffix (e.g. example.com-0001, will there also be a dedicated file for that in the renewals directory (i.e. example.com-0001.conf) or is it supposed to reference the example.com.conf file?

2- The files have a 32 char account field, which matches with a directory. How is that value computed from the account/account-key for RSA and ECDSA?

Thanks in advance!

3 Likes

The directory name and file name should be congruent.

I think it's just a hash.

2 Likes

Thanks.

There are so many ways to hash though.

I finally found the code responsible for it:

4 Likes

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