Hi Team,

Developed a KTR and kjb to make a https call.

Followed the below steps:

1) Imported the certificate in trustore
2) Tested the .ktr in PDI and getting response
3) Developed .kjb and ran the job and got response
4) Created a .bat file to schedule the job and getting error (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target).

commands in bat file :

C:\pentaho\data-integration\kitchen.bat /file:C:\temp\loop1.kjb /level:debug > C:\temp\trans.log


How can I provide the trustore path in bat file to make successful call because when testing from spoon no issue but when scheduled the job getting this exception.

Any inputs really appreciated.

Thanks,
Arun Alla


err_nrfield;err_description;err_fieldname;err_code
1;org.pentaho.di.core.exception.KettleException:
Unable to get result from specified URL : https://monitoringapi.solaredge.com/...5PTF1QPJLCS244
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
;;HTTP001