[QFJ-949] SSL Handshake failed on Java 8 Created: 02/May/18 Updated: 18/Jun/18 Resolved: 18/Jun/18 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.6.3 |
Fix Version/s: | None |
Type: | Bug | Priority: | Critical |
Reporter: | hemant | Assignee: | Unassigned |
Resolution: | Not a bug | Votes: | 1 |
Labels: | QuickfixJ |
Description |
Hello, We are using QuickfixJ configuration i.e. SocketUseSSL=Y. Trace: 08:15:50:522324|0250-00076:INFO [quickfix.mina.initiator.InitiatorIoHandler] - MINA session created for , class org.apache.mina.transport.socket.nio.NioSocketSession, Thread {NioProcessor-8}Thanks |
Comments |
Comment by Vivek Singh [ 15/Jun/18 ] |
I am facing this issue wherein after upgrading from quickfix-core jar from version 1.6.2 to 1.6.3 I started getting this exception. Upon checking the debug level logs of application found following exception: |
Comment by Vivek Singh [ 15/Jun/18 ] |
Just to add, we are using FIX.4.4 without any CA certification / jks file. |
Comment by Vivek Singh [ 18/Jun/18 ] |
Heamant, It is possible that client is using some lower version (like SSLv2) and server supports higher versions (like TLSv1.2). In this case server will reject the connection and handshake will fail. To enable SSL logging give following argument while starting your application -Djavax.net.debug=ssl. It will pring all SSL logs in STDOUT. Just check your logs to see what version client is using while sending handshake call to server. If you find that what i am saying is true then use EnabledProtocols=<VersionThatServerSupports> attribute in your fix setting. This property will make sure that your client is using the specified version for handshake. |
Comment by Christoph John [ 18/Jun/18 ] |
Is this now solved? However, this belongs onto the mailing list. I doubt that this is a bug since many people are using SSL with Java 8. |