processImage: Exception occured:sun.security.validator.ValidatorException:

  • 1.7K Views
  • Last Post 15 October 2014
K Kaiser posted this 30 September 2014

Hi,

I'm using processImage which worked fine until today. Now this exception occurs when I try to upload and process a file. Have there been any changes I have to adapt my application to?

Any suggestions?

Thanks, Katharina

Exception occured:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868) at sun.security.ssl.Handshaker.process_record(Handshaker.java:804) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) at com.abbyy.ocrsdk.Client.processImage(Client.java:51) at RunAbbyy.performRecognition(RunAbbyy.java:418)

Order By: Standard | Newest | Votes
Oksana Serdyuk posted this 01 October 2014

That message means that the client program doesn’t want to trust the SSL certificate of cloud.ocrsdk.com. The reason of this behavior is that our developers changed the certificate with a new expiration date on Monday. So, you should adjust your Java application to trust this new certification.

We are sorry for the inconvenience.

Abhrodip Paul posted this 14 October 2014

I am facing the same issue. I am using the sample code from your site. What king of changes I have to do for fixing this ?

Abhrodip Paul posted this 14 October 2014

Hi, Did you fixed it? can you please share

Oksana Serdyuk posted this 15 October 2014

Please see this thread for your information: http://forum.ocrsdk.com/questions/2003/certificate-error?page=1&focusedAnswerId=2004#2004. If the issue is not resolved, please write to us (Cloudocrsdk@abbyy.com).

Close