TLS_PARAMETERS (STRUCT)

TYPE TLS_PARAMETERS : STRUCT

Structure for TLS Parameter

Default - Socket is set to standard and with TLS1.2 for Client communication Enable TLS - Change SocketType to SysSocket2_Type.TLS Server SDT & TLS - Change SocketMethod to CmpTlsMethod.TLSv2_SERVER

InOut:

Name

Type

Initial

Comment

SocketType

SysSocket2_Type

SysSocket2_Type.STD

STD (Standard) = Standard socket, TLS = TLS socket enabled, STARTTLS = Standard socket with option to enable TLS

TlsMethod

CmpTlsMethod

CmpTlsMethod.TLSv2_CLIENT

TLSv2_CLIENT = TLS 1.2 for Client, TLSv2_SERVER = TLS 1.2 for Server - TLS 1.3 is NOT supported

TlsVerifyMode

TLS_VERIFY

TLS_VERIFY.TLS_VERIFY_PEER

Verify mode is used to verfiy either the client or server for certification - default set to TLS_VERIFY_PEER for Client and as TLS_VERIFY_NONE for Server

Sni

STRING(50)

‘’

Server name identification (Sni) is only required for TLS and an additional parameter requirement from servers