EMA C++ Configuration Guide : 3 Configuration Groups : 3.4 Channel Group : 3.4.7 Parameters for Use with Channel Types: RSSL_ENCRYPTED
 
3.4.7 Parameters for Use with Channel Types: RSSL_ENCRYPTED
In addition to the universal parameters listed in Section 3.4.2, and the parameters listed in the section specific to the protocol type you use (i.e., Section 3.4.4 for socket connections or Section 3.4.5 for HTTP connections), use the following parameters to configure a channel whose type is RSSL_ENCRYPTED.
 
Table 12: Parameters for Channel Types: RSSL_ENCRYPTED  
Parameter Name
Type
Default
Notes
EncryptedProtocolType
Enumeration
On Windows:
RSSL_SOCKET
On Linux:
RSSL_SOCKET
RSSL_WEBSOCKET
Specifies the type of protocol used for this encrypted connection.
RSSL_SOCKET (0)
RSSL_HTTP (2): Supported only on WinINet-based connections using the Windows OS (for backwards compatibility).
RSSL_WEBSOCKET (7)
NOTE: Include the parameters for the chosen protocol type specific to that type. For example, if you choose RSSL_SOCKET, the Enterprise Message API also expects to use the parameters listed in Section 3.4.7.
OpenSSLCAStore
EmaString
""
Specifies either:
The directory that contains the certificate authority store or,
The certificate authority certificate (i.e., a file). If you specify a file, LSEG recommends that you include the directory; otherwise your system will use the environment variables to locate the file.
If openSSLCAStore is blank or '\0', Enterprise Message API’s default behavior is dependent on the Operating System as follows:
On Windows: the Enterprise Message API loads root certificates from Windows’s root certificate store into OpenSSL. You can manage additional certificates using the Windows OS certificate manager.
On Linux: the Enterprise Message API’s behavior is handled entirely by OpenSSL as follows:
- If the OpenSSL library was provided by the OS vendor, refer to their documentation on where the certificate authority store is located.
- If the OpenSSL library was built from source, default behavior is defined by the build configuration.
SecurityProtocol
UInt64
4
When using OpenSSL, SecurityProtocol specifies the combination of flag values that set the version(s) of the TLS encryption protocol used for this connection.