Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Java Development
- :
- Email2Case: PKIX path building failed:
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Email2Case : PKIX path building failed:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-27-2012 05:34 AM
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.
Solved! Go to Solution.
Re: Email2Case : PKIX path building failed:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-27-2012 11:29 PM
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:
Blog | Salesforce Certified Developer | Salesforce Certified Administrator and Advance Administrator | Certified Sales Cloud Consultant
Re: Email2Case : PKIX path building failed:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-28-2012 02:45 AM
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.
Re: Email2Case : PKIX path building failed:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-29-2012 02:10 AM

