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
Matt Knutson 22Matt Knutson 22 

Error when testing new digi cert for new Salesforce Certificates

Steps and errors:

In our NON PROD Environment
 
1) Wanted to test the salesforce sandbox,  We tried without changing anything.
Error:
Unable to invoke endpoint URI "https://test.salesforce.com/services/Soap/c/38.0/0DF16000000ATqX" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 
2) Applied test.salesforce.com cert  
Error:
BusinessFault : {urn:enterprise.soap.sforce.com}LoginFault. Client received SOAP Fault from server : INVALID_LOGIN: Invalid username, password, security token; or user locked out.
 
3) Provided our the sandbox credentials
Error:
Unable to invoke endpoint URI "https://cs52.salesforce.com/services/Soap/c/38.0/00D5B000000DECd/0DF16000000ATqX" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 
4) Applied wc.cs52.force.com.12132020.crt
Error:
Unable to invoke endpoint URI "https://cs52.salesforce.com/services/Soap/c/38.0/00D5B000000DECd/0DF16000000ATqX" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 
 
5) Applied wc.cs52.force.com.12132020.crt  
Error:
Unable to invoke endpoint URI "https://cs52.salesforce.com/services/Soap/c/38.0/00D5B000000DECd/0DF16000000ATqX" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 
----
6) Changed the https://test.salesforce.com/services/Soap/c/38.0/0DF16000000ATqX to https://certtest.force.com/services/Soap/c/38.0/0DF16000000ATqX
Error:
Unable to invoke endpoint URI "https://certtest.force.com/services/Soap/c/38.0/0DF16000000ATqX" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target