Files
securityonion/salt/nginx
Josh Patterson c755c8bc61 Gracefully skip SSL cert states when the CA is unavailable
The *.ssl x509.certificate_managed states hard-failed the state run when
the CA/manager minion was unreachable (ca_server did not respond), and the
paired private_key_managed states then failed on the prereq requisite. The
- timeout: 30 on these states was a no-op (Salt has no per-state timeout
requisite; only retry accepts until/attempts/interval/splay).

Add an onlyif CA-reachability gate to every certificate_managed state so the
state is skipped as a clean success when the CA does not answer a peer
test.ping within 3s and the cert already exists. When the cert is missing
(initial provisioning) the state still runs so the existing retry waits for
the CA. The reachability command is centralized as CA.reachable_cmd in
ca/map.jinja, and the master peer config now permits test.ping. The no-op
- timeout: 30 is removed from all cert states.
2026-07-16 13:46:12 -04:00
..
2026-07-14 13:52:32 -04:00
2025-01-09 10:58:40 -05:00
2023-06-28 10:28:50 -04:00
2023-05-04 10:36:03 -04:00
2025-12-11 17:30:06 -05:00
2023-05-11 13:15:26 -04:00
2023-05-11 13:15:26 -04:00
2023-05-11 13:15:26 -04:00
2023-05-11 13:15:26 -04:00