mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
Certificates: help.sh validates the CA and leaf certs; fix renew exec bit.
help.sh now detects invalid Caddy certificates: expired or unparseable CA/leaf certs, a leaf expiring within 30 days, a leaf that does not match its private key or the current hostname, and Caddy serving a stale cert after regeneration. It also checks that the renewal script is executable and its timer is enabled. scripts/renew_certificates.sh was committed without the executable bit, so wrolpi-cert-renew.service failed with "Permission denied". Set the bit and make repair.sh restore executable bits on all scripts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
b172a4c9d6
commit
d6b019c24e
3 changed files with 68 additions and 0 deletions
0
scripts/renew_certificates.sh
Normal file → Executable file
0
scripts/renew_certificates.sh
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue