Enum member TLSPeerValidationMode.validCert
Require a valid certificate matching the peer name.
validCert = 7,
In this mode, the certificate is validated for general consistency and possible expiration, and the peer name is checked to see if the certificate actually applies.
However, the certificate chain is not matched against the system's pool of trusted certificate authorities, so a custom validation callback is still needed to get a secure validation process.