HostNameInCertificate
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
This option ensures that the driver is connecting to the requested server. The
value of hostNameInCertificate is ignored if validateServerCertificate is set to false or if the encryptionMethod option does not
specify a TLS encryption method.
If a name is specified for hostNameInCertificate,
the driver examines the values included in the certificate. If certificate's
name value does not match the name specified for hostNameInCertificate,
the connection will fail. The driver will not check the host name
in the server certificate if the hostNameInCertificate is
not specified or is set to an empty string. The default value is
the empty string.