|
From: Toli K. <to...@ma...> - 2007-08-31 16:37:51
|
Gregg, Great to hear SSL is working for you. We've had some issues with converting the certificates into the right format as well, I should've mentioned that earlier, my bad. I created a task to add this to the documentation: http://www.quickfixj.org/jira/browse/QFJ-234 On 8/31/07, Gregg Freeman <gr...@br...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Thanks for your help with this. I finally got it working. > > Once I got the correct certificate into the keystore (which was a task in > itself), and the keystore was on the > classpath, it "just worked". > > I think what was causing me issues was that the certificate I needed was a > PKCS#12 certificate, which I wasn't > quite sure how to get it into the java keystore. I ended up using the > pkcs12import.bat out of the jwsdp 2.0 bundle. > > Once my keystore was all set up, things went smoothly. I was able to get > some other SSL connections working with > self-signed certificates as well. > > I wanted to follow up just so people know it's actually working. > > Best Regards, > > Gregg > ----- Original Message ----- > From: "Toli Kuznets" <to...@ma...> > To: <qui...@li...> > Sent: Thursday, August 30, 2007 12:09 AM > Subject: Re: [Quickfixj-users] QuickfixJ and SSL > > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ > >> The directory containing the file is on the classpath, but not the file > >> itself. I've tried full paths, relative paths, etc... > > > > We have the file jar'd in to the main jar which is on the classpath, > > and we also just have the directory with the file, and both seem to > > work. > > > >> Anyway, how do I "enable quickfix.mina.ssl"? > > > > this depends on which underlying logger you are using in your config > > file. we go through SLF4J (slf4jLogFactory) and then we have the > > slf4j-log4j jar in the classpath which essentially turns out Log4j. > > At that point you need the log4j.properties file in the classpath > > which regulates the logging for Log4J. > > > > You can see the sample one at > > http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/main/resources/log4j.properties > > but essentially you'll need a line like this: > > log4j.logger.quickfix.mina.ssl=debug > > > > alternatively, you may want to enable debug messages through out to > > see as much output as possible: > > log4j.rootLogger=debug,stdout > > > > Hope this helps. > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Quickfixj-users mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |