トップ «前の日記 最新 次の日記»

2019-11-26 (Tu) [長年日記]

_ certbot がエラーを吐いた

certbot に自作のプラグイン certbot-dns-conoha を使っている。 (pip install で入るものとは関係ない)

↓こんなエラーが起きた。

Renewal configuration file /etc/letsencrypt/renewal/masm11.me.conf (cert: masm11.me) produced an unexpected error: 'Namespace' object has no attribute 'certbot_dns_conoha:dns_conoha_credentials'. Skipping.
0 renew failure(s), 1 parse failure(s)

何だろう? 証明書の更新に失敗した? と思って調べてみたところ…

python のバージョンが 3.7 から 3.8 に上がっていて、モジュールのある場所が python3.7 から python3.8 に変わっていた。

certbot そのものは pacman でインストールしたからいいけど、 certbot-dns-conoha は自前でインストールしたものだから、 取り残されていて、 python3.8 の方にインストールしなおす必要があった。

それだけで動いた。

ちなみに証明書の更新はまだ先だった。


編集 パスワード変更