The node probe honored the per-node TlsVerifyMode (skip/pin) but runtime.Remote used a shared client with no TLSClientConfig, so traffic sync and every other remote op fell back to system-CA verification and failed against self-signed nodes even after the operator set skip/pin. Move the TLS client builder into the runtime layer (HTTPClientForNode / DecodeCertPin) as the single source of truth, have Remote build and cache its per-node client through it, and delegate the service probe to the same builder so the two paths can no longer diverge. |
||
|---|---|---|
| .. | ||
| local.go | ||
| manager.go | ||
| remote.go | ||
| remote_test.go | ||
| runtime.go | ||
| tls_client.go | ||
| tls_client_test.go | ||