Issue:

InvokeHTTP processor fails execution with error:

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

 

Cause:

Clockspring does not trust the SSL certificate of the remote web server.  

 

Resolution:

Ensure that the processor is configured to use an SSL Context Service which trusts the remote certificate.  Right-click on the InvokeHTTP processor and select Configure to bring up the processor properties screen:


mceclip0.png


 

For assistance is configuring a Context Service please refer to article Add SSL Certificate to truststore for use by Clockspring


Alternatively, you can set Strict SSL Validation to false to ignore the certificate of the remote web server. Be aware that this could leave you vulnerable to rogue web services.