how do I change the admin email for let's encrypt?

Solution 1:

Use:

certbot-auto register --update-registration --email [email protected]

or

certbot register --update-registration --email [email protected]

or

certbot update_account --email [email protected]

certbot-auto or certbot will work if you have the executable under /usr/sbin. If you're unable to call certbot-auto globally, use the path to the certbot-auto file.

Source: https://letsencrypt.org/docs/expiration-emails/

Solution 2:

There is also a contact email address stored by the python letsencrypt client under: /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/{someKindOfHash}/regr.json

I believe that if you create multiple certs from the same letsencrypt client instance, it reuses the email address stored in regr.json, at least for expiry alert emails.


Solution 3:

Update based on https://letsencrypt.org/docs/expiration-emails/

certbot update_account --email [email protected]

Before This is just an update on n3rve's answer, since certbot-auto didn't work for me:

certbot register --update-registration --email [email protected]

Solution 4:

Because Let's Encrypt is a certificate authority, I'm guessing you want to update the data (an email) within your certificate.

If the certificate was signed, there is no way to update it. A new certificate will need to be produced.


Solution 5:

According to https://letsencrypt.org/docs/expiration-emails/

certbot update_account --email [email protected]

I guess it keeps on changing

Tags:

Lets Encrypt