I noticed that quickfix C++ version provides a way to encrypt the connection using certs through SSLSocketInitator and config file.
But I was not able to get this to work in python. How to create SSLSocketInitiator in python?
This is my current code which works for me without SSL, just plain socket initiator.
settings = fix.SessionSettings(fileName)
app = MyApplication()
storeFactory = fix.FileStoreFactory(settings)
logFactory = fix.FileLogFactory(settings)
initiator = fix.SocketInitiator(app, storeFactory, settings, logFactory)
initiator.start()
app.run()