Let's Encrypt の証明書を自動更新するために導入した dehydrated ですが、更新に失敗していることに気づいていなくて証明書が失効寸前になっていて冷や汗をかきました。
実際に出ていたのは以下のような"JWS has no anti-replay nonce" というエラーです。
# INFO: Using main config file /opt/dehydrated/configProcessing host.example.jp + Checking domain name(s) of existing cert... unchanged. + Checking expire date of existing cert... + Valid till Dec 8 23:27:48 2019 GMT (Less than 15 days). Renewing! + Signing domains... + Generating private key... + Generating signing request... + Requesting challenge for host.example.jp... + ERROR: An error occurred while sending post-request to https://acme-v01.api.letsencrypt.org/acme/new-authz (Status 400)Details:{ "type": "urn:acme:error:badNonce", "detail": "JWS has no anti-replay nonce", "status": 400}
これについては以下で直っていることが確認できたので、git pull して最新版を引っ張ってくるだけで大丈夫でした。