Unable to update Contact email registered when certificate created

In past i created certs and private key with terraform as below and its working till now but when i am trying to update contact email to a new mail id i am getting issue

resource "tls_private_key" "lets_enc_key" {
algorithm = "ECDSA"
ecdsa_curve = "P384"
}

resource "acme_registration" "reg" {
account_key_pem = tls_private_key.lets_enc_key.private_key_pem
email_address = local.tags.contact
}

Here is issue i am getting -- β”‚ Error: acme: error: 403 :: POST :: https://acme-staging-v02.api.letsencrypt.org/acme/new-acct :: urn:ietf:params:acme:error:unauthorized :: An account with the provided public key exists but is deactivated
β”‚
β”‚ with module.vault-tenant.acme_registration.reg,
β”‚ on ../../../tf/module/vault-tenant/letsencrypt.tf line 41, in resource "acme_registration" "reg":
β”‚ 41: resource "acme_registration" "reg" {

Even though my key is same annd everyting is same yet i am getting this issue , How to update contact email into my lets encrypt certificate

as LE no longer sends email and no longer keeps it, I think server have no idea what to do when it got email update request. that's wrong error message so it worth patching though.

3 Likes

Its not about sending mails to server.. we added one email_address while registering for certs -- now we have private key with us and want to see linked email address with LE registered account and possibility to update it also --> resource "acme_registration" "reg" {
account_key_pem = tls_private_key.lets_enc_key.private_key_pem
email_address = local.tags.contact
} we checked in test env and each time we change email_address our previous account got locked and we have to reregister

Email addresses are no longer linked to specific accounts at all, in any way.

If you want an email address to be added on the list to get notifications about Let's Encrypt's services, you can subscribe to their newsletters on their contact page. There aren't any account-specific email notifications, just general announcements and information.

3 Likes

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