skip to main content
Using the JDBC Client : JDBC Connection Properties : ValidateServerCertificate
 

ValidateServerCertificate

Description

Determines whether the driver validates the certificate sent by the database server. When using SSL server authentication, any certificate sent by the server must be issued by a trusted Certificate Authority (CA). Allowing the driver to trust any certificate returned from the server even if the issuer is not a trusted CA is useful in test environments because it eliminates the need to specify truststore information on each client in the test environment.

Valid Values

True | False
If set to True, the driver validates the certificate sent by the database server. Any certificate from the server must be issued by a trusted CA in the truststore file. If the optional HostNameInCertificate property is specified, the driver also validates the certificate using a host name. The HostNameInCertificate property provides additional security against man-in-the-middle (MITM) attacks by ensuring that the server the driver is connecting to is the server that was requested.
If set to False, the driver does not validate the certificate sent by the database server. The driver ignores any truststore information specified by the TrustStore and TrustStorePassword properties.

Default

False