function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vanessa BarrosVanessa Barros 

Connection webservice

hi!

I have a SSL connection that begins in Salesforce and send information to a web server and the web server send to ues a response.

 

The certificate that is in web server was updated and..puff.. when we send information in salesforce to the server, the error is:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

I read many things about it but i dont understand how to do the update on SF or if i have to generated a CA..how can i do?

cheers!

Best Answer chosen by Admin (Salesforce Developers) 
Vanessa BarrosVanessa Barros

many tks but yesterday solved :)

All Answers

cha runcha run

Is it necessary to generate CA?

 

Are you using cURL for this purpose?

Vanessa BarrosVanessa Barros

many tks but yesterday solved :)

This was selected as the best answer
merchant Devmerchant Dev

What did you do?

merchant Devmerchant Dev

What did you do I'm running into the same problem??

 

Thanks

 

 

Vanessa BarrosVanessa Barros

In Salesforce i didnt do anything - 

the other server is only sending the root certificate back.

In order to validate it as trusted and form an SSL connection - they must send the entire certificate chain.

What is missing is an additional intermediate certificate which validates this client one.

What you’ll have to do is contact the  support and request for the chain to be sent back rather than only the client certificate or send the entire certificate chain