Enum member TLSPeerValidationMode.trustedCert
Require a valid and trusted certificate (strongly recommended).
Checks the certificate and peer name for validity and requires that the certificate chain originates from a trusted CA (based on the registered pool of certificate authorities).
This option is a combination validCert
and checkTrust
.
See also
useTrustedCertificateFile