Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: HTTPS call failing when calling the rest API

  1. #1

    Default HTTPS call failing when calling the rest API

    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

  2. #2

    Default

    Solved the issue:

    defined the java params in spoon.bat

  3. #3
    Join Date
    Feb 2017
    Posts
    6

    Default

    Quote Originally Posted by new_pentaho_user View Post
    Solved the issue:

    defined the java params in spoon.bat

    can you pls advise what params did you set ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.