Warning |
---|
Since FIX Antenna C++/.NET version 2.13.0 and FIXEdge version, 5.9.0 SSL built-in support has been introduced. Refer to How to configure built-in SSL support for FIX session in FIXEdge for details. However, you can continue use stunnel with accordance to the current article if you wish. |
...
- Run stunnel GUI Start from Start menu Run
- Editstunnel.conf from stunnel system tray icon context menu
- Add option
Code Block title stunnel.conf protocol = proxy
- Comment example SSL services
Add SSL service
Code Block title stunnel.conf [fix_initiator_session1_tunnel] client = yes accept = 127.0.0.1:443 connect = <counterparty_ip>:443
<counterparty_ip> - ip address of counterparty
- Add option
- Reload stunnel.conf from stunnel system tray icon context menu
...
Configuration on FIXEdge side
FIXEdge.properties
Configured 2 sessions FIXEdge has two configured sessions: EXCHANGE and CLIENT
Code Block | ||||
---|---|---|---|---|
| ||||
FixLayer.FixEngine.Sessions = EXCHANGE, CLIENT # -----------------[ FIXEdge connects to EXCHANGE as Initiator ] ------------------ FixLayer.FixEngine.Session.EXCHANGE.Role = Initiator FixLayer.FixEngine.Session.EXCHANGE.HBI = 30 FixLayer.FixEngine.Session.EXCHANGE.Host = 127.0.0.1 FixLayer.FixEngine.Session.EXCHANGE.Port = 444 FixLayer.FixEngine.Session.EXCHANGE.Version = FIX44 FixLayer.FixEngine.Session.EXCHANGE.SenderCompID = FIXEDGE FixLayer.FixEngine.Session.EXCHANGE.TargetCompID = EXCHANGE # ... the rest parameters for EXCHANGE # ----------------- [ FIXEdge awaits connection from the CLIENT] ---------- FixLayer.FixEngine.Session.CLIENT.Role = Acceptor FixLayer.FixEngine.Session.CLIENT.Version = FIX44 FixLayer.FixEngine.Session.CLIENT.SenderCompID = FIXEDGE FixLayer.FixEngine.Session.CLIENT.TargetCompID = CLIENT # ... the rest parameters for CLIENT |
...