Reply
Trusted Contributor
Prasanna__d
Posts: 427
0
Accepted Solution

Email2Case: PKIX path building failed:

I am trying to run the Email2Case and it is giving me following error message. Same setup was running till last month. Does v 9.0 no more supported? or I am missing anything? It getting service URL as :

https://ap1-api.salesforce.com/services/Soap/u/9.0/00D90000000Zwhp 
2012-08-27 17:56:44,759 [main] INFO  Attempting to start service com.sforce.mail.EmailService with configuration file D:\Applications\Email2Case\\email2case.txt

2012-08-27 17:56:48,121 [main] INFO  LoginURL: https://www.salesforce.com/servic
es/Soap/u/9.0
2012-08-27 17:56:48,122 [main] INFO  Agent will connect to: https://ap1-api.salesforce.com/services/Soap/u/9.0/00D90000000Zwhp
2012-08-27 17:56:52,388 [main] ERROR Failed to bind to SFDC service on initialization.
HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validato
r.ValidatorException: PKIX path building failed: sun.security.provider.certpath.
SunCertPathBuilderException: unable to find valid certification path to requested target


 Any help will be really helpful.

--
Prasanna
blog | twitter
Trusted Contributor
Jitendra
Posts: 402
0

Re: Email2Case: PKIX path building failed:

Hi Prasanna, Does your configuration have valid client certification path?

 

I have implemented SSL handshake however not with Salesforce. Please have a look at below URL:

 

http://goo.gl/bV3J1

Jitendra Zaa
Blog | Salesforce Certified Developer | Salesforce Certified Administrator and Advance Administrator | Certified Sales Cloud Consultant
Trusted Contributor
Prasanna__d
Posts: 427
0

Re: Email2Case: PKIX path building failed:

Thanks for the reply!

 

I have a solution which fetches the server certificate and add that to the key store and then I can configure Java app to use that keystore. But the problem is I am using the standard Email-to-Case JAVA application provided by Salesforce. And which was working fine untill last few days.

 

--
Prasanna
blog | twitter
Trusted Contributor
Prasanna__d
Posts: 427
0

Re: Email2Case: PKIX path building failed: