Samples :: SSL

SSL BuySide Sample

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

ItemDescription
conf/buyside.cerSSL certificate
conf/buyside.keystore.binSSL key store
conf/buyside.truststore.binSSL trust store

Usage

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

SSL SellSide Sample

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

ItemDescription
conf/sellside.cerSSL certificate
conf/sellside.keystore.binSSL key store
conf/sellside.truststore.binSSL trust store

Usage

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