Hi, I made more tests and here is the solution I found, but I think it's not the best one, so I share it with you. I noticed that the certificates are searched in the java standard certificates and also in all ofbiz keystores (specified in "ofbiz-component.xml" files).
At first I added one in the "base" component referenced the "ofbizssl.jks" file, but it was not loaded. I noticed in fact the "base" component is not loaded like the others, I don't know if it's normal or not. And so then I added a keystore to the "service" component, which already contains a keystore for rmi, and here it works. Is there any better approach ? In fact, I don't understand why the "ofbizssl.jks" file is not loaded by default. Cimballi On Fri, Sep 25, 2009 at 10:16 AM, Cimballi <[email protected]> wrote: > Hi, > > I am trying to connect OFBiz with Authorize.NET and I have a problem > with the SSL certificate. > I followed instructions here : > http://docs.ofbiz.org/display/OFBIZ/Authroize.net+Configuration+in+Ofbiz+Application > But when I want to authorize a payment I have the following error : > Could not complete Authorize.Net transaction: > org.ofbiz.base.util.HttpClientException: IO Error processing request > (java.security.cert.CertificateException: No trusted certificate > found) > > But if I list the certificates : keytool -list -keystore ofbizssl.jks > I have the Authorize.NET certificate : authorize_net, 25 sept. 2009, > trustedCertEntry, > > Do you have any idea about what I am doing wrong ? > > Thanks, > > Cimballi >
