ユーザ用ツール

サイト用ツール


unix:linux:letsencrypt

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
unix:linux:letsencrypt [2026/03/21 12:43] – 作成 editorunix:linux:letsencrypt [2026/03/21 12:47] (現在) editor
行 1: 行 1:
 +====== Lets Encrypt ======
 +===== インストール =====
 <code> <code>
 sudo apt-get install letsencrypt sudo apt-get install letsencrypt
行 5: 行 7:
 </code> </code>
  
-<code> +===== 設定 =====
-sudo letsencrypt certonly --standalone -d ownDomainName +
-</code> +
- +
-<code> +
-sudo apt install certbot python3-certbot-apache +
-sudo apt install libapache2-mod-ssl +
-</code> +
 <code> <code>
 sudo certbot certonly \ sudo certbot certonly \
行 29: 行 23:
 </code> </code>
  
 +----
 ===== 更新 ===== ===== 更新 =====
 80 番 port でアクセスできるようにする。 80 番 port でアクセスできるようにする。
-443 port に redirect していると失敗する+443 port に redirect していると失敗する。 
 +まずは、"--dry-run" でエラーがないか確認。
 <code> <code>
 certbot renew --dry-run certbot renew --dry-run
 </code> </code>
 +エラーがなければ、 
 +<code> 
 +certbot renew 
 +</code>
 ==== エラーが生じた場合 ==== ==== エラーが生じた場合 ====
 /etc/letsencrypt/renewal/domain.conf の中身を確認する /etc/letsencrypt/renewal/domain.conf の中身を確認する
unix/linux/letsencrypt.1774097002.txt.gz · 最終更新: by editor

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki