fetchPeerCert

abstract suspend fun fetchPeerCert(url: Url): Boolean(source)

Fetches the server's public cert from <url>/trust and persists it in the platform's trust store. Returns true if the cert was stored or already matched the existing one; false if the fetch failed.