さくらインターネットのVPS(Ubunt16)で letsencrypt
の renew
コマンドが失敗する問題が発生しています。
最新版(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!" というメッセージが出たら更新成功です。