let’s encrypt に登録したメールアドレスを変更する

はじめに

let’s encrypt にメールアドレスを登録すると、証明書の有効期限が近くなると通知してくれる機能がある。その通知先を変更する方法を紹介。

手順

“` certbot-auto “` を利用することで簡単に変更が可能だ。

詳細は以下の通り

/usr/local/src/certbot/certbot-auto register --update-registration --email [new Mailaddress]

結果

# /usr/local/src/certbot/certbot-auto register --update-registration --email letsencrypt@sumito.jp
Upgrading certbot-auto 0.34.2 to 0.35.1...
Replacing certbot-auto...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Usage 'certbot register --update-registration' is deprecated.
Please use 'certbot update_account [options]' instead.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let's Encrypt project and the non-profit
organization that develops Certbot? We'd like to send you email about our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y

IMPORTANT NOTES:
 - Your e-mail address was updated to letsencrypt@sumito.jp