QuickFIX/J User Manual

Secure Communications with QFJ

Java Secure Sockets

Important Note: SSL support is only available when using Java 5+.

This technique relies on the MINA SSL I/O filter. To use SSL, you must include the mina-filter-ssl-[version].jar in your application's classpath.

The default usage of SSL is very simple. Just add the following setting to your QFJ settings file.

SocketUseSSL=Y
This setting must be used for both acceptors and initiators. If you need to use a specific SSL certificate, configure your session like below.
SocketUseSSL=Y
SocketKeyStore=[your key store path]
SocketKeyStorePassword=[your password]
Also see the tests in quickfix.mina.ssl.SecureSocketTest.

STunnel

Another option for SSL secure communications is STunnel. See details about how to use STunnel on the QFJ wiki.