fix(telemetry): enable TLS verification for Mainnet validator list fetches

The Mainnet telemetry config carried ssl_verify=0, inherited when the file
was copied from the Devnet config. Mainnet fetches its validator lists from
public HTTPS publishers (vl.ripple.com, unl.xrplf.org) that present valid CA
certificates, so there is no self-signed certificate to work around.

With ssl_verify=0 both halves of TLS peer authentication are skipped on those
fetches: the certificate chain check and the RFC 6125 hostname match. The list
blob's own signature is still verified against the pinned publisher keys, so
this restores defense in depth rather than fixing a validator-injection path.

Restores the secure default and documents why it stays that way.
This commit is contained in:
Pratik Mankawde
2026-08-06 13:41:08 +01:00
parent 761c4e2872
commit 77e01d4995

View File

@@ -105,8 +105,15 @@ data/logs/mainnet/debug.log
# --- SSL --------------------------------------------------------------------
# Keep the secure default (1). The Mainnet validator lists in
# validators-mainnet.txt are fetched from public HTTPS publishers that present
# valid CA certificates, so there is no self-signed cert to work around here.
# Setting this to 0 would skip both the certificate chain check and the
# hostname match on those fetches. The list blob's own signature is verified
# against the pinned publisher keys either way; this adds TLS peer
# authentication on top of that.
[ssl_verify]
0
1
# --- Insight (native OTel metrics via beast::insight) -----------------------