LoginSignup
0
2

More than 5 years have passed since last update.

letsencryptの証明書更新

Posted at

さくらインターネットのVPS(Ubunt16)で letsencryptrenew コマンドが失敗する問題が発生しています。
最新版(Ubuntu17)では修正されている不具合なのかもしれません(情報があまり見つかりませんでした)。遭遇したエラーは以下のようなもの。

$ sudo letsencrypt renew
Processing /etc/letsencrypt/renewal/places.lmlab.net.conf
2018-01-11 08:49:13,606:CRITICAL:letsencrypt.auth_handler:Client does not support any combination of challenges that will satisfy the CA.
2018-01-11 08:49:13,606:WARNING:letsencrypt.cli:Attempting to renew cert from /etc/letsencrypt/renewal/foobar.com.conf produced an unexpected error: Client does not support any combination of challenges that will satisfy the CA.. Skipping.

今回は、以下のコマンドで代用して証明書を更新しました。

sudo service apache2 stop
sudo letsencrypt certonly -d foobar.com --standalone
sudo service apache2 start

"Congratulations!" というメッセージが出たら更新成功です。

0
2
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
2