property TrustServerCertificate: boolean; default False;
Description
Determines whether a server certificate will be verified during the TLS/SSL handshake when starting a new session.
Set TrustServerCertificate to True, in order for the client to trust the server in any case regardless of compliance with the certificate.
Set TrustServerCertificate to False, in order for the client to verify a certificate. In this case if the certificate does not meet any requirements, the TLS server is considered invalid, and the session is closed.
The default value is False.
See also
IgnoreServerCertificateConstraints
IgnoreServerCertificateInsecurity
IgnoreServerCertificateValidity