Humanity

Edit the world by your favorite way

2018-09-09から1日間の記事一覧

Let's Encrypt の証明書の有効期限をチェックする Cron 用シェルスクリプト

まぁ certbot-auto renew を定期的に実行すればいいんですが、チェックだけしたいって場合のスクリプト。 Cron で毎日実行する事を想定してます。 追記:切れる前メール通知来るの知りませんでした… 具体例 REPORT_DAYS_AGO はデフォルトで 14 が指定されて…

certbot-auto で ImportError: No module named cryptography.hazmat.bindings.openssl.binding

wget https://dl.eff.org/certbot-auto とかしてダウンロードした certbot-auto スクリプトを実行しようとすると、 ImportError: No module named cryptography.hazmat.bindings.openssl.binding のようなエラーが出る時がある。 詳細なエラー $ ./certbot-a…