Discussion:
Java Data Upload Error
(too old to reply)
Jimmy Pakaya
2006-07-10 22:50:02 UTC
Permalink
Same problem with the uploads on our end. We have a Java program that
performs the upload. It looks like the issue may have started 7/6. Nothing
has changed on our end either. See logs below.....our certificate does not
expire until 2/07:

Starting the Store data Upload to MapPoint ...
Starting Process
Properties loaded
Starting Upload
Finding Service...
Get Job ID
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path validation failed:
java.security.cert.CertPathValidatorException: signature check failed
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path validation failed:
java.security.cert.CertPathValidatorException: signature check failed
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1476)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:843)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
at
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at
org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1360)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:790)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1356)
at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2271)
at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
at
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:162)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at
net.mappoint.s.mappoint_30.CustomerDataServiceSoapStub.startUpload(CustomerDataServiceSoapStub.java:196)
at UploadClient.startUpload(UploadClient.java:161)
at UploadClient.main(UploadClient.java:51)
Caused by: sun.security.validator.ValidatorException: PKIX path validation
failed: java.security.cert.CertPathValidatorException: signature check failed
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:187)
at
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:139)
at sun.security.validator.Validator.validate(Validator.java:203)
at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172)
at
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:836)
... 30 more
Caused by: java.security.cert.CertPathValidatorException: signature check
failed
at
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:139)
at
sun.security.provider.certpath.PKIXCertPathValidator.doValidate(PKIXCertPathValidator.java:316)
at
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:178)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:206)
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:182)
... 35 more
Caused by: java.security.SignatureException: Signature does not match.
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:446)
at
sun.security.provider.certpath.BasicChecker.verifySignature(BasicChecker.java:133)
at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:112)
at
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:117)
... 39 more

{http://xml.apache.org/axis/}hostname:sfa21785www001

javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path validation failed:
java.security.cert.CertPathValidatorException: signature check failed
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:250)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
at org.apache.axis.client.Call.invokeEngine(Call.java:2737)
at org.apache.axis.client.Call.invoke(Call.java:2720)
at org.apache.axis.client.Call.invoke(Call.java:2396)
at org.apache.axis.client.Call.invoke(Call.java:2319)
at org.apache.axis.client.Call.invoke(Call.java:1776)
at
net.mappoint.s.mappoint_30.CustomerDataServiceSoapStub.startUpload(CustomerDataServiceSoapStub.java:196)
at UploadClient.startUpload(UploadClient.java:161)
at UploadClient.main(UploadClient.java:51)
Caused by: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path validation failed:
java.security.cert.CertPathValidatorException: signature check failed
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1476)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:843)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
at
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at
org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1360)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:790)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1356)
at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2271)
at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
at
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:162)
... 12 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation
failed: java.security.cert.CertPathValidatorException: signature check failed
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:187)
at
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:139)
at sun.security.validator.Validator.validate(Validator.java:203)
at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172)
at
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:836)
... 30 more
Caused by: java.security.cert.CertPathValidatorException: signature check
failed
at
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:139)
at
sun.security.provider.certpath.PKIXCertPathValidator.doValidate(PKIXCertPathValidator.java:316)
at
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:178)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:206)
at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:182)
... 35 more
Caused by: java.security.SignatureException: Signature does not match.
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:446)
at
sun.security.provider.certpath.BasicChecker.verifySignature(BasicChecker.java:133)
at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:112)
at
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:117)
... 39 more
Daphne
2006-07-11 12:16:02 UTC
Permalink
I've been getting the same error for several days as well. Any help would be
appreciated.
SBoxrucker
2006-07-11 18:24:02 UTC
Permalink
Ditto for me (same exact error). I was last able to upload on 7/3, so I
further support that the problems began on (or around) 7/6.

There are several threads referring to this problem, but there's no
indication that any action is being taken (or an acknowledgment of the issue).

So I'll chime in now (just in case it's only a problem when a sufficient
number of customers have complained).
--
Steve Boxrucker
Post by Daphne
I've been getting the same error for several days as well. Any help would be
appreciated.
Daphne
2006-07-12 15:43:01 UTC
Permalink
I have made some progress even though I haven't gotten a full working
solution.

You'll have to do two things:
1) Run keytool into the cacert in your JAVA_HOME, once for each cert you
find for "Microsoft Secure Server Authority", I have even added the "GTE
CyberTrust Global Root" one, so three for me altogether. For example:-
keytool -keystore [your java home here]/lib/security/cacerts -alias
MicrosoftMPCSS -import -file msft_css.cer
keytool -keystore [your java home here]/lib/security/cacerts -alias
MicrosoftMPCSS2 -import -file msft_css2.cer
...

2) Update the CustomerDataService.wsdl. You'll find that that has been
changed, so you'll probably need to update your implementation so that it's
compatible.

Please share if anyone else gets this working.
Daphne
2006-07-13 10:59:02 UTC
Permalink
Looks like running the first step in the previous post is sufficient to fix
the Data Upload / Download Java apps SSL errors since 6th July.

Microsoft would have made all updates to the WSDL backwards compatible.

Hope this helps.
Peter Schoenster
2006-07-19 19:01:02 UTC
Permalink
Post by Daphne
Looks like running the first step in the previous post is sufficient to fix
the Data Upload / Download Java apps SSL errors since 6th July.
Hi,

When I first installed certs I used the ones installed when I logged in to
the CSS site. I used those again but it would not work.

I deleted all certs in IE. I then went to the WSDL page.

I then exported the 2 certs which were then installed in IE. I exported
those and imported them into my cacerts file and the upload began to work
again.

I made no other changes.

Peter
Jimmy Pakaya
2006-08-03 21:58:02 UTC
Permalink
I re-registered the certificates and the issue persisted. I then deleted the
existing certificates in my browser, exported the newly created certificates
and re-registered, and everything is working once again.....
Post by Peter Schoenster
Post by Daphne
Looks like running the first step in the previous post is sufficient to fix
the Data Upload / Download Java apps SSL errors since 6th July.
Hi,
When I first installed certs I used the ones installed when I logged in to
the CSS site. I used those again but it would not work.
I deleted all certs in IE. I then went to the WSDL page.
I then exported the 2 certs which were then installed in IE. I exported
those and imported them into my cacerts file and the upload began to work
again.
I made no other changes.
Peter
cgcamilo
2009-01-31 22:34:32 UTC
Permalink
Can any of you guys send me the net.mappoint.s.mappoint_30 library b
mail (***@hotmail.com) please? I need it.
I will appreciate so much,

thank

Loading...