QuickFIX/J User Manual

Secure Communications with QFJ

Java Secure Sockets

This technique relies on the MINA SSL I/O filter.

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.