ST_TlsConnectFlags

Additional (optional) client connection parameters.

Syntax

TYPE ST_TlsConnectFlags :
STRUCT
    bNoServerCertCheck: BOOL;
    bIgnoreCnMismatch : BOOL;
END_STRUCT
END_TYPE

Values

Name

Type

Description

bNoServerCertCheck

BOOL

Disables validation of the server certificate.

bIgnoreCnMismatch

BOOL

Ignored if the CommonName in the server certificate does not match the host name specified as sRemoteHost.

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TF6310 v3.3.15.0 or later

TwinCAT v3.1.0

PC or CX (x86, x64, Arm®)

Tc2_TcpIp (Communication)