|
From: Maya R. <Ma...@ba...> - 2019-01-08 13:39:34
|
Hi Chris, There is no additional log when I add this flag. I am running on windows from idea intellij editor. So the console log should be shown in the editor. I am also using log4j - maybe that is the issue? Thanks, Maya From: Christoph John [mailto:chr...@ma...] Sent: Tuesday, January 08, 2019 3:03 PM To: Maya Rolnik; qui...@li... Subject: Re: [Quickfixj-users] ssl and quickfixj 1.6.4 Hi Maya, in MINA 2.0+ the SSL filter is included in the mina-core JAR. So nothing should be missing from the classpath. Can you send the log file that you have? Is it possible that the logging is lost somewhere? I don't know much about Windows but maybe the logging goes to the console instead of a log file? Are you starting your program in a shell or from the desktop? Chris. On 08/01/2019 12:36, Maya Rolnik wrote: Hi Chris, Still no logs.. "C:\Program Files\Java\jdk1.8.0_121\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:58789,suspend=y,server=n -Djavax.net.debug=ssl -Dfile.encoding=UTF-8 -classpath <jars> <MainClass> Maybe the issue is related to a specific jar I need in my classpath? For quickfix 1.5.3 I used mina 1.1.7, and had an extra jar of mina-filter-ssl. For quickfix 1.6.4 I am using mina 2.0.13, and there is no matching ssl jar. Thanks, Maya From: Christoph John [mailto:chr...@ma...] Sent: Tuesday, January 08, 2019 1:00 PM To: Maya Rolnik Subject: Re: [Quickfixj-users] ssl and quickfixj 1.6.4 Hi Maya, if the java property did not produce any more logs then you either did not apply it correctly or the problem is somewhere else. Normally there is a LOT of logging so I assume option 1. ;) Could you please try "-Djavax.net.debug=ssl,handshake,trustmanager"? Chris. On 07/01/2019 17:43, Maya Rolnik wrote: Hi Chris, I am using JDK 8. Those are my relevant settings: SocketUseSSL=Y SocketKeyStore=*** SocketKeyStorePassword=*** I have now added the setting you mentioned: EnabledProtocols=TLSv1.2 But still same result. Also -Djavax.net.debug=all did not produce any more logs. Thanks, Maya From: Christoph John [mailto:chr...@ma...] Sent: Monday, January 07, 2019 6:07 PM To: qui...@li...<mailto:qui...@li...>; Maya Rolnik Subject: Re: [Quickfixj-users] ssl and quickfixj 1.6.4 IIRC you at least need to add EnabledProtocols=TLSv1.2 with JDK8 to work. Chris. On 07/01/2019 17:03, Christoph John wrote: Hi, what does your config look like? Did you also upgrade your Java version? Starting with JDK8 some ciphers are disabled by default. Try turning on SSL debug logging by starting your process with Java options "-Djavax.net.debug=all" or "-Djavax.net.debug=handshake". Cheers, Chris. On 07/01/2019 16:33, Maya Rolnik wrote: QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma...<mailto:chr...@ma...> MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com<http://www.macd.com> Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma...<mailto:chr...@ma...> MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com<http://www.macd.com> Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma...<mailto:chr...@ma...> MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com<http://www.macd.com> Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |