Try OpenEdge Now
skip to main content
SQL Development
JDBC Client : Connecting to an OpenEdge database with a JDBC driver : Enabling encryption : HostNameInCertificate
 
HostNameInCertificate
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 an SSL 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.