0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Let's Encryptで証明書取得及び証明書廃止の手順

Posted at

案外忘れやすいLet's Encryptでの証明書取得と廃止の方法。

メモ代わりに記事に残しておきます。

まず、証明書の取得は以下のコマンド。-w にはApacheのDocumentRootを設定。-dには認証するドメインを指定する。

certbot certonly --webroot -w /var/home/site/xxxx.yyyy.info -d xxxx.yyyy.info

そして、証明書の廃止は以下のコマンド。--cert-pathには廃止する証明書のファイルを設定する。コマンド実行後に色々聞かれるが全て[Y]esで答えていくこと。

certbot revoke --cert-path=/etc/letsencrypt/live/xxxx.yyyy.info/cert.pem
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?