Not able to connect with Katalon analytics

I am not able to connect with katalon analytics
i have the following problem

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

Hi @8163-Dhiraj,

Thank you for reporting the issue. Would you please provide Katalon Studio logs in this case and other information from this guide? It’d help our team to troubleshoot your issue faster.

Best,
Liam

Dhiraj said:

I am not able to connect with katalon analytics
i have the following problem

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

There can be many reasons behind this: https://stackoverflow.com/questions/9210514/unable-to-find-valid-certification-path-to-requested-target-error-even-after-c

Here is the general solution:

1. Download InstallCert.java in this place: https://github.com/escline/InstallCert

2. Compile it using this Windows command line:

javac InstallCert.java

3. Execute the following windows command line one by one:

java InstallCert <your_web_host>
keytool -exportcert -alias <your_web_service_host>-1 -keystore jssecacerts -storepass changeit -file <your_web_service_host>.cer
keytool -importcert -alias <your_web_service_host> -keystore "<Katalon Folder>jre\lib\security\cacerts" -storepass changeit -file <your_web_service_host>.cer

Example (in case of KA):

java InstallCert staging.katalon.net
keytool -exportcert -alias analytics.katalon.com-1 -keystore jssecacerts -storepass changeit -file analytics.katalon.com.cer
keytool -importcert -alias analytics.katalon.com -keystore "D:\Katalon_Studio_Windows_64-4.8\jre\lib\security\cacerts" -storepass changeit -file analytics.katalon.com.cer
1 Like