property TrustServerCertificate: boolean; default False;

 

Description

Determines whether the 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

TScSSLClient.ClientHelloExtensions

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support