Users - weird error with ofbiztrust.jks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Users - weird error with ofbiztrust.jks

Si Chen-2
I'm trying to connect to a remote https server to do a shipment label  
(DHL), and I'm getting this error:

---- exception report  
----------------------------------------------------------
Exception: java.security.cert.CertificateParsingException
Message: signed overrun, bytes = 128
---- stack trace  
---------------------------------------------------------------
java.security.cert.CertificateParsingException: signed overrun, bytes  
= 128
sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1662)
sun.security.x509.X509CertImpl.<init>(X509CertImpl.java:173)
sun.security.provider.X509Factory.engineGenerateCertificate
(X509Factory.java:90)
java.security.cert.CertificateFactory.generateCertificate
(CertificateFactory.java:389)
sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:725)
java.security.KeyStore.load(KeyStore.java:652)
org.ofbiz.base.util.KeyStoreUtil.getTrustStore(KeyStoreUtil.java:110)

I'm trying to use these classes:
org.ofbiz.base.util.HttpClient.sendHttpRequestStream(HttpClient.java:
385)
org.ofbiz.base.util.HttpClient.sendHttpRequest(HttpClient.java:270)
org.ofbiz.base.util.HttpClient.post(HttpClient.java:205)

and it's trying to use my base/config/ofbiztrust.jks  Is it a problem  
with the ofbiztrust.jks file?  If so, what might that be?

Si



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users