如何更改让我们加密的管理员电子邮件?

ali*_*der 22 lets-encrypt

我们开始使用 let's encrypt 时用作管理员电子邮件的电子邮件地址需要修改(一名前员工使用他的个人电子邮件地址作为管理员电子邮件,他不再在公司工作)。需要采取哪些步骤来进行修改(我们可以让前员工确认这一点)。我们需要删除他的个人电子邮件地址并将其替换为新的电子邮件地址。这将用于密钥恢复操作。无论哪种情况,我都希望删除前员工的个人电子邮件地址。我需要采取哪些步骤来完成此操作(如果我对流程的理解不正确,请指出正确的方向)。提前致谢。

Ral*_*lph 42

用:

certbot-auto register --update-registration --email new_email@example.com
Run Code Online (Sandbox Code Playgroud)

或者

certbot register --update-registration --email new_email@address.org
Run Code Online (Sandbox Code Playgroud)

或者

certbot update_account --email yourname+1@example.com
Run Code Online (Sandbox Code Playgroud)

certbot-auto或者certbot如果您在/usr/sbin. 如果您无法全局调用 certbot-auto,请使用 certbot-auto 文件的路径。

来源:https : //letsencrypt.org/docs/expiration-emails/

  • 第二个建议,`certbot register --update-registration` 现在被报告为不推荐使用`certbot update_account` (2认同)

小智 13

还有一个由pythonletsencrypt客户端存储的联系电子邮件地址: /etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/{someKindOfHash}/regr.json

我相信,如果您从同一个 letencrypt 客户端实例创建多个证书,它会重用存储在 regr.json 中的电子邮件地址,至少对于到期警报电子邮件。


lup*_*upo 10

基于https://letsencrypt.org/docs/expiration-emails/ 的更新

certbot update_account --email yourname+1@example.com
Run Code Online (Sandbox Code Playgroud)

之前这只是n3rve答案的更新,因为certbot-auto对我不起作用:

certbot register --update-registration --email new_email@address.org
Run Code Online (Sandbox Code Playgroud)


小智 8

根据https://letsencrypt.org/docs/expiration-emails/

certbot update_account --email yourname@example.com
Run Code Online (Sandbox Code Playgroud)

我想它会不断变化


小智 1

因为 Let's Encrypt 是一个证书颁发机构,所以我猜您想要更新证书中的数据(电子邮件)。

如果证书已签名,则无法更新它。需要制作新的证书。

  • 这实际上是不正确的。LE 不会将电子邮件添加到签名证书中。注册的电子邮件地址仅用于过期通知。如果您有原始帐户密钥,则可以通过 ACME 协议进行更新。 (20认同)