[英]Quickfixn SSL Configuration issue
Im trying to configure my quickfix to initiate SSL connection, I tried a lot ok googling and went with the below configuration and im getting following error. 我正在尝试配置我的quickfix以启动SSL连接,我尝试了很多很好的搜索,并使用了以下配置,并得到以下错误。 Will be great if some one can give suggestions on this.
如果有人可以对此提出建议,那将是很棒的。
Configuration: 组态:
[DEFAULT]
ConnectionType=initiator
ReconnectInterval=200
FileStorePath=E:/Vivek/SourceCodes/Swiss/PrimoLiquidity/PrimeLiquidity/bin/Debug/FixLogs/MarketDataLogs
FileLogPath=E:/Vivek/SourceCodes/Swiss/PrimoLiquidity/PrimeLiquidity/bin/Debug/FixLogs/MarketDataLogs
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
DataDictionary=E:/Vivek/SourceCodes/Swiss/PrimoLiquidity/PrimeLiquidity/bin/Debug/FIX44.xml
SocketConnectPort=2525
SocketConnectHost=70.42.18.200
ResetOnLogon=Y
ValidateFieldsOutOfOrder=N
SSLEnable=Y
SSLValidateCertificates=N
SSLCheckCertificateRevocation=N
SSLCertificate=C:/Users/Vivek/NewCert.pfx
SSLCertificatePassword=12345
# standard config elements
[SESSION]
BeginString=FIX.4.4
SenderCompID=quote.DEMOSUCD.530
SenderSubID=DEMOSUCD
TargetCompID=demo.fxgrid
HeartBtInt=30
Error: 错误:
20170310-19:40:45.089 : Unable to perform authentication against server: A call to SSPI failed, see inner exception.
20170310-19:40:45.089 : Connection failed (AuthenticationException): A call to SSPI failed, see inner exception.
I have done this extensively before, not through the QuickFIX API but through stunnel. 我之前已经做过广泛的工作,不是通过QuickFIX API,而是通过stunnel。 See here .
看这里 。 It think you should use this to set up a persistent SSL connection.
它认为您应该使用它来建立持久的SSL连接。 It might take a bit of time to configure, but once you get it you don't have to worry about it again.
配置可能会花费一些时间,但是一旦配置完成,您就不必再为它担心。
Where does this error come from - your side or the counterparty side? 该错误从何而来-您一方还是对手方? What's the SSPI inner exception say?
SSPI内部异常怎么说?
There's something about SSPI and quick fix here that the certificate is not in the Windows cert store. 关于SSPI和快速修复, 此处的内容不在Windows证书存储区中。
I also agree with Wapiti: use stunnel 我也同意Wapiti:使用stunnel
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.