Find answers to common questions about Cloudmersive products and services.
I am getting the error SSLHandshakeException ValidatorException PKIX path building failed SunCertPathBuilderException unable to find valid certification path to requested target |
4/24/2022 - Cloudmersive Support |
I am getting the following error: com.cloudmersive.client.invoker.ApiException: 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 targetFor this issue, you may need to add our certificate to your trust store. It is a public certificate, so normally this is automatically recognized, but if your servers is configured to not support public certificates by default, you may need to follow these steps:
First you can check if your certificate is already in the truststore by running the following command:
(you don't need to provide a password) If your certificate is missing, you can get it by downloading it with your browser and add it to the truststore with the following command:
|