web-dev-qa-db-ja.com

Certbot-Let's Encryptを引き続き使用するようにクライアントソフトウェアを更新する-Ubuntu 14.04でACME v1をv2に更新する

[email protected]から「クライアントソフトウェアを更新してLet's Encryptを使い続ける」という件名のメールを受け取りました

私は自分のhttpsサイトをホストするサーバーでUbuntu 14.04.05 LTSを使用しています。Certbotは0.22.2 + 1 + ubuntuです。

これが私のリポジトリの最新バージョンです。

このドキュメントに従って、ACME v2サーバーを強制的に使用するドメインを更新しようとしました https://certbot.eff.org/docs/using.html?highlight=acmev2#changing-the-acme-server 更新コマンドに "--server https://acme-v02.api.letsencrypt.org/directory "を追加していますが、機能しません。

今私は行き詰まり、助けを求めています。

お読みいただき、ありがとうございます。

7
reverendocabron

あなたがすでに述べたようにppa:certbot/certbotには最新バージョンのcertbotがありません。

certbotの公式Webサイトには、certbotに関連するすべての手順が記載されています。

https://certbot.eff.org/all-instructions/

「Nginx on Ubuntu(other)」を選択する必要があります。これにより、このページに移動します。

https://certbot.eff.org/lets-encrypt/ubuntuother-nginx.html

このページでは、次のステートメントを実行するように指示しています。

ステップ1:certbot-auto:をインストールします

wget https://dl.eff.org/certbot-auto
Sudo mv certbot-auto /usr/local/bin/certbot-auto
Sudo chown root /usr/local/bin/certbot-auto
Sudo chmod 0755 /usr/local/bin/certbot-auto

ステップ2:nginxを設定します:

Sudo /usr/local/bin/certbot-auto --nginx

このステップはあなたに尋ねます:

1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)

ここに「1」を入力できます

それから尋ねます:

Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for

要件は何でも選択できます。

ステップ3:自動更新するcronジョブをセットアップします:

echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot-auto renew" | Sudo tee -a /etc/crontab > /dev/null

免責事項:上記の方法でうまくいきました。 YMMV!

5
user18853