mod_md icon indicating copy to clipboard operation
mod_md copied to clipboard

Can mod_md perform account updates (such as changing contact emails?)

Open moschlar opened this issue 2 years ago • 2 comments

Could this work through changing the account.json?

moschlar avatar May 04 '22 13:05 moschlar

No, I'm afraid there is no functionality for changing an existing account on the ACME server.

If you remove an account in the file system, a new one will be created on the next renew, but that will of course not help for notifications on existing certificates.

icing avatar May 05 '22 08:05 icing

But I think, it would be possible to convert account data, including the key, to the format that certbot uses and then use the certbot update_account command.

I'll post here when I actually need to do that and have it figured out, so that others with that crazy need can benefit.

moschlar avatar May 09 '22 09:05 moschlar

I finally came around to writing the script that does this:

https://gist.github.com/moschlar/03ab7d87e5584e4b9663cefa3a69fa47

moschlar avatar Apr 04 '23 08:04 moschlar