问题原文
原帖链接 · busythomas · CC BY-SA 4.0
I am trying to update the old email address which was being used to recieve expiry notification from the amazing Letsencrypt. However, I did not find a way to do it amazingly :O.
What I did try however: I deleted the old certificate in the hope that certbot would have asked me regarding the new email but the fact it didn't (poor me)
I deleted the old certificate using this command
certbot delete
then I chose the domain which I would like to delete.
Then I regenerate a new letsencrypt certificate which was a success no errors found and the website was still online without any further certificate issue (prost to that!):
sudo certbot certonly --nginx -d thecompany.com
But then however, CERTBOT did not ask me for a new email address! (omg!)
And now I don't know what to do, feels like banging my head to the wall won't help, so, I let my fingers dance on my keyboard and asked this question to the nicest folks at here :).
Many thanks!
社区高分解答
原帖链接 · skg · CC BY-SA 4.0
--update-registration
is no more a valid argument, the below command worked for me to update/change the email id.
sudo certbot update_account -m <mail_id>
Below is the snippet of the sudo certbot --help command about manage accounts.
manage your account:
register Create an ACME account
unregister Deactivate an ACME account
update_account Update an ACME account
show_account Display account details
--agree-tos Agree to the ACME server's Subscriber Agreement
-m EMAIL Email address for important account notifications
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
