# Error: PKIX path building failed

**URL:** <https://forum.katalon.com/t/error-pkix-path-building-failed/40840>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [March 9, 2020, 2:56pm UTC](https://forum.katalon.com/t/error-pkix-path-building-failed/40840 "2020-03-09T14:56:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suvankar.chandra](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@suvankar.chandra](https://forum.katalon.com/u/suvankar.chandra)\
**Post date:** [March 9, 2020, 2:56pm UTC](https://forum.katalon.com/t/error-pkix-path-building-failed/40840/1 "2020-03-09T14:56:43Z")

</div>

Hi Community,

I am getting the following error while trying to read from PDF file.

Reason:  
org.codehaus.groovy.runtime.InvokerInvocationException: 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

I have gone through the solutions available in [Stackoverflow](https://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore). By looking at the solution, it looked like the certificates were not installed. But I have checked and it is installed and still showing this error message. Can anyone please help me on this.

---

<div class="post-metadata">

**Author:** ![bharathi.a](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/bharathi.a/32/24695_2.png) [@bharathi.a](https://forum.katalon.com/u/bharathi.a)\
**Post date:** [October 17, 2023, 5:18pm UTC](https://forum.katalon.com/t/error-pkix-path-building-failed/40840/2 "2023-10-17T17:18:51Z")

</div>

@suvankar.chandra

you have to install the certificate to the katalon jre.

if you added the certificate to java inside C:\Programing files\Java\jdk or jre it won’t reflect in katalon studio

you have to add the certificate to the katalon installation location which is under the following path

C:\Users\your user name.katalon\packages\Katalon\_Studio\_Windows\_64-8.6.6\Katalon\_Studio\_Windows\_64-8.6.6\jre\lib\security

please refer to my workaround here

> [@Unable to start application when try to do object spy in remote device](http://forum.katalon.com/t/unable-to-start-application-when-try-to-do-object-spy-in-remote-device/99177/5):
>
> Got a solution for this issue after spending my whole day. After spending a day, I did it phew. Solution: After updating/installing (now katalon is downloading as an exe) to the new katalon version in the JRE file under the C:\Users\userName.katalon\packages\Katalon\_Studio\_Windows\_64-8.6.8\Katalon\_Studio\_Windows\_64-8.6.8\jre\lib\security\cacerts SSL Certificate is missing To add that if you are using lambda test/ Pcloudy/ Browser stack/Kobiton/sauce labs you need to add the certificate to …
