📚
Documentation
Installation guides, configuration steps, and product documentation.
KB10008 Node fails to start/connect with error "PKIX path building failed / unable to find valid certification path to requested target" message
Publish date: May 23, 2018
Modification date: Jul 16, 2026
Affected Version: Not specified
Description
A Storware Backup & Recovery Node may fail to start or connect to the API when it is registered with an HTTPS URL. The issue occurs when the SSL certificate required by the Node is missing from the Java keystore or has changed on the Server side.
In the vprotect_daemon.log files, the following error is visible:
2018-05-23 12:51:56.806 SEVERE
com.sun.jersey.api.client.ClientHandlerException: 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 targetThis prevents operational connectivity between the Node and the Server, stopping backup tasks from executing.
Solution
Go to the scripts directory: Navigate to the directory containing the necessary utility scripts.
cd /opt/vprotect/scriptsRe-import the Server SSL certificate: Use the provided script to import the certificate into the Node keystore.
For local installation:
./node_add_ssl_cert.shFor remote Server:
./node_add_ssl_cert.sh vprotectserver.local 8181
Delete old certificate (if necessary): If the certificate has changed, remove the old entry before re-importing.
keytool -delete -keystore /usr/lib/jvm/jre/lib/security/cacerts -storepass changeit -noprompt -alias vprotectRestart services: Restart the Node service and verify connectivity in the logs.
Keywords
SSLHandshakeException, PKIX path building failed, node_add_ssl_cert.sh, vprotect_daemon.log, SSL certificate, keystore, cacerts