Files
felhom.eu/documentation/audits/certpin-spike-2026-11-11/tools/force.sh
T
admin d4c7e84c22
gates / gates (push) Successful in 3m34s
Golden 0.352.0 vouched; token fix finished; why the N100 keeps no time; certificate pin spike on demo-hp
- Golden 0.352.0: bake, publish, one fresh install, the operator's vouch (R-468).
- No clone holds a login in its address; the credential helper script is in the repository (R-925, R-1390).
- N100 clock: a stale cached AppArmor profile stops chrony (R-1301, new R-1388). Read only.
- Certificate pin spike on demo-hp (R-1380): the break, the proven hand repair (runbook), the CA-file test,
  03-host-agent.md 12a, decision D80.
- Rulings of 13:17 written down (09 decisions 297-302). Register 245 -> 248 (R-1388, R-1389, R-1390).
- Docs, evidence and one helper script. No release, no floor change, no hub deploy.

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-11-11 15:15:20 +01:00

12 lines
780 B
Bash

# force a new node certificate the documented way: pvecm updatecerts --force
main() {
echo "== force $(date -u +%FT%TZ)"
echo "before: $(echo | openssl s_client -connect 127.0.0.1:8006 2>/dev/null | openssl x509 -noout -fingerprint -sha256)"
pvecm updatecerts --force; echo "updatecerts rc=$?"
echo "file now: $(openssl x509 -in /etc/pve/local/pve-ssl.pem -noout -fingerprint -sha256 -enddate | tr '\n' ' ')"
sleep 5
echo "served 5 s later, no restart: $(echo | openssl s_client -connect 127.0.0.1:8006 2>/dev/null | openssl x509 -noout -fingerprint -sha256)"
echo "pveproxy: $(systemctl show pveproxy -p ActiveEnterTimestamp --value) reloads: $(journalctl -u pveproxy --since '-1 min' --no-pager -o cat | tail -3 | tr '\n' ';')"
echo "done $(date -u +%FT%TZ)"
}; main </dev/null