How to configure stunnel for FIX API platform?

How to configure stunnel for FIX API platform?

Example:
[cmcdata]
client = yes
accept = 127.0.0.1:18000
connect = fix-api.cmcmarkets.com:18000
verify = 2
CApath = /etc/ssl/certs
checkHost = fix-api.cmcmarkets.com
delay = yes

[cmcorder]
client = yes
accept = 127.0.0.1:18001
connect = fix-api.cmcmarkets.com:18000
verify = 2
CApath = /etc/ssl/certs
checkHost = fix-api.cmcmarkets.com
delay = yes

2 Likes

Thank you!!
How to set the global part?

It depends.
Some liquidity providers don’t need to set this part.
Because maybe the platform integrates with several LPs.
So one setting may affect others.