#author("2025-11-06T21:45:41+09:00","default:k1rou","k1rou") #author("2025-11-06T21:48:17+09:00","default:k1rou","k1rou") *Certbot [#v476fe42] -https://certbot.eff.org/ -[[EEF]]が開発している[[ACME]]クライアント -[[EFF]]が開発している[[ACME]]クライアント -[[Let's Encrypt]]が発行する証明書を自動で更新するツール -60日で証明書を更新する -インストールする方法 --[[snap]] を使ってCertbotをインストールする(推奨) *コマンド [#n7a051f8] **certbot [#s3ad379e] -バージョンを表示 certbot --version -ヘルプ certbot -h certbot --help -証明書を取得してインストールする certbot certbot run --プラグインを使う certbot --apache ※Apacheの設定ファイルに自動で設定する certbot --nginx ※Nginxの設定ファイルに自動で設定する -証明書を取得する(インストールしない) certbot certonly ※実行するとモード(standalone/webroot)の選択が求められる certbot certonly -d <domain-name> certbot certonly -d <domain-name> -d <domain-name> certbot certonly --key-type rsa ※鍵の種類:RSA certbot certonly --key-type ecdsa ※鍵の種類:ECDSA --standaloneモード certbot certonly --standalone -d <domain-name> --webrootモード certbot certonly --webroot -w <html-path> -d <domain-name> -証明書の更新ができることを確認 certbot renew --dry-run -証明書を更新する certbot renew *関連用語 [#j877f52e] -[[Let's Encrypt]]