Where is my key pair?

According to https://gethttpsforfree.com, when registering you need to provide an email and public key - I’ve got the email, and my server has tons of keys on it in /etc/letsencrypt, but I’m uncertain which pair I need to back up in order to not lose access to the account, and to use tools such as this.

Thanks

I believe the account keys are stored in /etc/letsencrypt/accounts

Thanks! So in that folder, I’ve got a directory structure like:

acme-v01.api.letsencrypt.org

  • directory
    — [ some hash ]
    ------meta.json
    ------private_key.json
    ------regr.json

definitely not sure how to use these files. Are there docs anywhere?

You could look through the community here. The private_key.json is basically an expanded version of the account private key data in JSON format, but not directly usable in things like OpenSSL without converting to PEM.

1 Like