HEy guys, I am just testing the UPS implementation. I get an log error that the certificate is not trusted. Is a fully trusted cert needed? Cause I am still on testings and implementations, and do not want to put the site online on a real TLD.
So I am working from localhost, so its difficult to get a cert for localhost :) Is that the reason for the UPS error, or should UPS work without an SSL Cert, so that I can test it? /3396933 [http-bio-0.0.0.0-443-exec-20] WARN org.ofbiz.base.util.HttpClient - ---- exception report ---------------------------------------------------------- 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.java:70) sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1160) sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) sun.security.ssl.Handshaker.processLoop(Handshaker.java:609) sun.security.ssl.Handshaker.process_record(Handshaker.java:545) sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:963) sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1208) sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1235) sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1219) sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:440) sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:979) sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) org.ofbiz.base.util.HttpClient.sendHttpRequestStream(HttpClient.java:478) org.ofbiz.base.util.HttpClient.sendHttpRequestStream(HttpClient.java:398) org.ofbiz.base.util.HttpClient.sendHttpRequest(HttpClient.java:340) org.ofbiz.base.util.HttpClient.post(HttpClient.java:260) org.ofbiz.shipment.thirdparty.ups.UpsServices.sendUpsRequest(UpsServices.java:1991) org.ofbiz.shipment.thirdparty.ups.UpsServices.upsShipmentConfirm(UpsServices.java:648) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616) ....end so on ... / -- View this message in context: http://ofbiz.135035.n4.nabble.com/UPS-connection-SSL-Certificate-Error-tp4639681.html Sent from the OFBiz - User mailing list archive at Nabble.com.
