PKIX path building failed error when connecting to an SSL enabled CA Workflow engine in a Change Order Category or Request Area.

Document ID : KB000050907
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When attempting to attach a CA Workflow process to a Change Order Category or Request Area, the following error message is displayed:

There is a problem accessing CA Workflow - please try again or contact the administrator. Details: Error accessing PM Service at: https://hostname:8443/pm/services/pmService2Error doing PM login:; nested exception is: javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Solution:

To remedy this, the root certificate must be imported in to the Java keystore, cacerts.

More information and specifics can be found on the Java site:
http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/keytool.html

And the following very specific example:
http://www.java-samples.com/showtutorial.php?tutorialid=210