[fedora-java] ssl connections, cacerts

Anthony Green green at redhat.com
Mon Jul 31 19:01:06 UTC 2006


Now that rssowl is running (thanks aph), I wanted to see if https rss
feeds would work (like those provided by bugzilla).

Our classpath.security file is messed up, but I think fitzsim just fixed
this:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=200701

When I fix it manually, and try to access an https rss feed, I get...

Exception in thread "Load Feed Thread" org.apache.commons.httpclient.HttpClientError: java.security.KeyStoreException: java.io.FileNotFoundException: /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/security/cacerts (No such file or directory)
   at net.sourceforge.rssowl.dao.ssl.EasySSLProtocolSocketFactory.createEasySSLContext(Unknown Source)
   at net.sourceforge.rssowl.dao.ssl.EasySSLProtocolSocketFactory.getSSLContext(Unknown Source)
   at net.sourceforge.rssowl.dao.ssl.EasySSLProtocolSocketFactory.createSocket(Unknown Source)
   at org.apache.commons.httpclient.HttpConnection.open(jakarta-commons-httpclient-3.0.jar.so)
   at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(jakarta-commons-httpclient-3.0.jar.so)
   at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(jakarta-commons-httpclient-3.0.jar.so)
   at org.apache.commons.httpclient.HttpClient.executeMethod(jakarta-commons-httpclient-3.0.jar.so)
   at org.apache.commons.httpclient.HttpClient.executeMethod(jakarta-commons-httpclient-3.0.jar.so)
   at net.sourceforge.rssowl.dao.ConnectionManager.openConnection(Unknown Source)
   at net.sourceforge.rssowl.dao.ConnectionManager.connect(Unknown Source)
   at net.sourceforge.rssowl.dao.ConnectionManager.connect(Unknown Source)
   at net.sourceforge.rssowl.dao.NewsfeedFactory.initXmlDocument(Unknown Source)
   at net.sourceforge.rssowl.dao.NewsfeedFactory.<init>(Unknown Source)
   at net.sourceforge.rssowl.dao.NewsfeedFactory.<init>(Unknown Source)
   at net.sourceforge.rssowl.controller.thread.FeedLoader.run(Unknown Source)

We don't have a cacerts file.  How is this supposed to work?

AG





More information about the fedora-devel-java-list mailing list