メンテナンス・トラブルシュート - SSL 無料証明書(Let's Encrypt) - 証明書削除

クラウディア 
1. 概要
2. 状況
3. 削除

1. 概要

 管理しているサーバの、一部の機能を別のサーバに移動しました。  「Let's Encrypt」で取得する必要がなくなったら、証明書を削除する必要があります。  本ページは、下記のサイトを参考にさせていただきました。
【Let's Encrypt】証明書の削除の方法

2. 状況

 定期的に更新のチェックを行っていますが、そのときに。

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
  Domain: サーバ名.ドメイン名
  Type:   unauthorized
  Detail: アドレス: Invalid response from http://サーバ名.ドメイン名/.well-known/acme-challenge/暗号キー: 404
 てなエラーになります。  こういう場合は、証明書を削除します。

3. 削除

 「root」ユーザ権限で。

certbot delete

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Which certificate(s) would you like to delete?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: サーバ名1.ドメイン名1
2: サーバ名2.ドメイン名2
3: サーバ名3.ドメイン名3
4: サーバ名4.ドメイン名4
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
 何もしない場合は、c Enter ですな。  Enter のみ入力すると全部消えちゃうらしいので、お気を付けください。  左端の数字を入力して、Enter すれば、その証明書を削除します。  複数削除する場合は、半角スペースや空白で区切るらしい。  上記の例で、4 Enter すると。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following certificate(s) are selected for deletion:

  * サーバ名4.ドメイン名4

WARNING: Before continuing, ensure that the listed certificates are not being
used by any installed server software (e.g. Apache, nginx, mail servers).
Deleting a certificate that is still being used will cause the server software
to stop working. See https://certbot.org/deleting-certs for information on
deleting certificates safely.

Are you sure you want to delete the above certificate(s)?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o:
 YNEnter で、本当に削除するかどうか決定します。