The structure ST_TlsSettings contains the parameter used for the connection to the server and contains the TLS (Transport Layer Security).
Element |
Data type |
Default value |
Description |
---|---|---|---|
xSendClientCert |
BOOL |
FALSE |
Set to TRUE if a client certificate is required. |
sCertName |
STRING[255] |
- |
Specifies the client certificate file. If the value is a null string, the default certificate of the controller is used. The name corresponds to the value “Issued for” from the controller certificate. The name can be obtained from the certificate using the in Logic Builder. |
etProtocol |
TCPUDP.ET_TlsPrototocol |
TCPUDP.ET_TlsProtocol.TLSv12 |
Protocol used for secured connection. Refer to ET_TlsProtocol. |
etCertVerifyMode |
TCPUDP.ET_CertVerifyMode |
TCPUDP.ET_CertVerifyMode.TrustedOnly |
Mode for the certificate verification. Refer to ET_CertVerifyMode. |
ifVerifyCertCallback |
TCPUDP.IF_VerifyCertCallback |
- |
Verify the callback interface. Refer to IF_VerifyCertCallback. |