Samples :: SSL

SslBuySide

Description

This is a FIX Initiator that connects to the pre-defined host and port.

The connection is secured using SSL.

When the session is established, the "SingleOrder - New"(MsgType='D') FIX message is sent to the counterparty.

This sample can be run together with the "SellSide SSL" sample. The "SellSide SSL" must be started first.

Directory Contents

Item Description
conf/sample/buyside.cer SSL certificate
conf/sample/buyside.keystore.bin SSL key store
conf/sample/buyside.truststore.bin SSL trust store

Usage

  • Run the sample:
    • win: 2-SslBuySide.bat
    • linux: 2-SslBuySide.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

SslSellSide

Description

This is a FIX Acceptor that waits for incoming connections on the pre-defined port (ListenPort).

The connection is secured using SSL.

If the incoming application-level message is "SingleOrder - New" (MsgType='D') then the "ExecutionReport" (MsgType='8') message is send to the counterparty. Otherwise the "Email" (MsgType='C') message is sent back.

This sample can be run together with the "BuySide SSL" sample. "SellSide SSL" must be started first.

Directory Contents

Item Description
conf/sample/sellside.cer SSL certificate
conf/sample/sellside.keystore.bin SSL key store
conf/sample/sellside.truststore.bin SSL trust store

Usage

  • Run the sample:
    • win: 1-SslSellSide.bat
    • linux: 1-SslSellSide.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh