tibemsSSLParams_System_SetExpectedHostName
Function
C Declaration
tibems_status tibemsSSLParams_System_SetExpectedHostName( tibemsSSLParams SSLParams, const char* expected_hostname );
COBOL Call
CALL "tibemsSSLParams_System_SetExpectedHostName" USING BY VALUE SSLParams, BY REFERENCE expected-hostname, RETURNING tibems-status END-CALL.
Remarks
This parameter applies when establishing a TLS connection to the EMS server. If host name verification is enabled, the EMS client compares the name specified in this call to the CN of the certificate presented by the server during the initial TLS handshake. If they are not the same, the connection fails.
This parameter is connection-specific and can be specified for each connection.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.