4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ApacheサーバーのLet's Ecryptの証明書を更新する

Posted at

背景

個人開発のWebサイトにて証明書が期限切れになってしまっていたため、更新を行った。
初めてだったので備忘録として残す。

前提

1. Certbotはインストール済みとする。

https://www.bkds-hi.com/posts/lets_encrypt
↑上記サイトがわかりやすかった

2.Webサーバーは80port開放済み(閉域だと無理です)

実施前の状態

certbot certificates でWebサーバに導入している証明書を確認可能

スクリーンショット 2025-09-29 220341.png
↑ 2025/09/27 INVALID:EXPIRE つまりゲームオーバー

本題

sudo certbot --apache -d mahjonglabs.com --force-renewal
↑のコマンドで上手くいった

image.png
↑成功!

4
3
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
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?