{{Quickfixn}} Using SSL from Initiator

Rao, Masthan Masthan.Rao at abglobal.com
Tue Nov 15 23:09:08 PST 2016


Andrew,
            Sorry if I created any confusion but our counterparty says that they don't need any client certificate to be set for SSL connection. They are expecting a simple SSL handshake before FIX logon which I am not a able to achieve. I tried using stunnel and it worked like charm. First I connected to our counterparty using stunnel and then pointed by Fix connection host to localhost and it worked. But I am not able to achieve this SSL handshake using this QuickFixn. Any help would be greatly appreciated.
Masthan

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Andrew Teets
Sent: Tuesday, November 15, 2016 11:17 AM
To: 'Mailing list for QuickFIX/n' <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Using SSL from Initiator

Hi Masthan -

Been a while since we had ours, but we just used some powershell to create a client cert file and reference it by the engine.
Here's some links I had in my list:

-          http://windowsitpro.com/blog/creating-self-signed-certificates-powershell

-          https://gallery.technet.microsoft.com/scriptcenter/Self-signed-certificate-5920a7c6

Hope that helps.

Comment Driven Development at it's finest
-Andrew

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Rao, Masthan
Sent: Tuesday, November 15, 2016 02:14
To: quickfixn at lists.quickfixn.com<mailto:quickfixn at lists.quickfixn.com>
Subject: {{Quickfixn}} Using SSL from Initiator

Hi,
            Could anyone send the sample Initiator configuration file for using SSL using QuickFix n. Our counterparty says that they are not providing any client certificate for SSL connection.

Currently I have the following settings
SSLEnable=Y
SSLServerName=ServerName
SSLProtocols=Default

But giving me the following exception.
12:52:28,144 [14] DEBUG Fix - [OutGoing] 8=FIXT.1.19=8635=A34=149=xxxxx52=20161111-17:52:28.13656=xxxxxx98=0108=30141=Y1137=910=002
12:52:28,146 [14] INFO  Fix - Event: Initiated logon request
12:52:28,166 [14] INFO  Fix - Event: Session FIXT.1.1:UATABALFA->UATTRUMID disconnecting: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at QuickFix.SocketInitiatorThread.Read()


Any help would be appreciated.

Masthan

............................................................................

For further important information about AllianceBernstein please click here
http://www.abglobal.com/disclaimer/email/disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20161116/b0aef0da/attachment-0002.htm>


More information about the Quickfixn mailing list