最近Ubuntu 18.04/ Certbot renew出現這些錯誤 :原因是2020 Python2要終結了?

理論上應該是因為Python 2會在2020年走入歷史了.

Attempting to renew cert (xxx.php5.idv.tw) from /etc/letsencrypt/renewal/xxx.php5.idv.tw.conf produced an unexpected error: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Method not allowed. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/xxx.php5.idv.tw/fullchain.pem (failure)

好像上應該是因為Python 2會在2020年走入歷史了.

所以certbot怪怪的?

解決方法

sudo apt-get update
sudo apt-get install –only-upgrade certbot

certbot又復活了