大网数据广告活动
服务器运维问答

How to update email address to receive expiry notification from letsencrypt?

· 52CE 我爱测

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 certific…

问题原文

原帖链接 · 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

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-12-06)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。