I am not able to get the Tracking number from the FEDEX. Whenever complete order it throws me be No trusted certificate found exception. I have generated certificate and import the same the JKS and also in truststore. Works fine in the local environment, exception is raised while executing in the live environment. Below is the exception occurred ----------*****************-------------------- Error sending Fedex request for FDXShipRequest: Exception: org.ofbiz.shipment.thirdparty.fedex.FedexConnectException Message: URL Connection problem (IO Error processing request (java.security.cert.CertificateException: No trusted certificate found)) ---- cause --------------------------------------------------------------------- Exception: org.ofbiz.base.util.HttpClientException Message: IO Error processing request (java.security.cert.CertificateException: No trusted certificate found) ---- cause --------------------------------------------------------------------- Exception: javax.net.ssl.SSLHandshakeException Message: java.security.cert.CertificateException: No trusted certificate found ---- cause --------------------------------------------------------------------- Exception: java.security.cert.CertificateException Message: No trusted certificate found ---- stack trace --------------------------------------------------------------- java.security.cert.CertificateException: No trusted certificate found org.ofbiz.base.util.MultiTrustManager.checkServerTrusted(MultiTrustManager.j ava:72) com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLCont extImpl.java:320) com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandsh aker.java:841) com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshake r.java:106) com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:877 ) com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocket Impl.java:1089) com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java :1116) com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java :1100) sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402) sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Abstra ctDelegateHttpsURLConnection.java:166) sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio n.java:883) sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLCo nnectionImpl.java:230) org.ofbiz.base.util.HttpClient.sendHttpRequestStream(HttpClient.java:466) org.ofbiz.base.util.HttpClient.sendHttpRequestStream(HttpClient.java:386) org.ofbiz.base.util.HttpClient.sendHttpRequest(HttpClient.java:328) org.ofbiz.base.util.HttpClient.post(HttpClient.java:248) org.ofbiz.shipment.thirdparty.fedex.FedexServices.sendFedexRequest(FedexServ ices.java:125) org.ofbiz.shipment.thirdparty.fedex.FedexServices.fedexShipRequest(FedexServ ices.java:1050) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) java.lang.reflect.Method.invoke(Method.java:592) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngin e.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java: 54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:219) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:241) java.lang.Thread.run(Thread.java:595) ---------------------------------------------------------------------------- ---- 2011-07-14 22:16:34,543 (default-invoker-Thread-8) [ ServiceDispatcher.java:528:ERROR] Error in Service [fedexShipRequest]: Error sending Fedex request for FDXShipRequest: org.ofbiz.shipment.thirdparty.fedex.FedexConnectException: URL Connection problem (IO Error processing request (java.security.cert.CertificateException: No trusted certificate found)) 2011-07-14 22:16:34,544 (default-invoker-Thread-8) [ TransactionUtil.java:285:ERROR] ---- exception report From: Netra patil [mailto:[hidden email]] Sent: Friday, July 15, 2011 3:47 PM To: '[hidden email]' Subject: Exception in connecting to shipment vendor - FEDEX Exception: java.lang.Exception: Error sending Fedex request for FDXShipRequest: org.ofbiz.shipment.thirdparty.fedex.FedexConnectException: URL Connection problem (IO Error processing request (java.security.cert.CertificateException: No trusted certificate found)) + Any sort of suggestions would be helpful. Thanks in Advance Netra |
Free forum by Nabble | Edit this page |