Pulse/pkg/tlsutil
rcourtman e0dc6695fc fix: Per-node TLS fingerprints for cluster peers (TOFU)
When a PVE cluster has unique self-signed certificates on each node, Pulse
would mark secondary nodes as unhealthy because only the primary node's
fingerprint was used for all connections.

Now, during cluster discovery, Pulse captures each node's TLS fingerprint
and uses it when connecting to that specific node. This enables
"Trust On First Use" (TOFU) for clusters with unique per-node certs.

Changes:
- Add Fingerprint field to ClusterEndpoint config
- Add FetchFingerprint() to tlsutil for capturing node certs
- validateNodeAPI() now captures and returns fingerprints during discovery
- NewClusterClient() accepts endpointFingerprints map for per-node certs
- All client creation paths use per-endpoint fingerprints when available

Related to #879
2025-12-24 10:05:03 +00:00
..
dnscache.go Add DNS caching to reduce excessive DNS queries 2025-11-05 18:25:38 +00:00
dnscache_test.go test: add unit tests for AI, Kubernetes agent, and clients 2025-12-17 12:47:36 +00:00
fingerprint.go fix: Per-node TLS fingerprints for cluster peers (TOFU) 2025-12-24 10:05:03 +00:00
tlsutil_test.go test: add unit tests for pkg/tlsutil 2025-11-26 14:14:34 +00:00