Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Invokehttp unable to find valid certification path to requested target??

Highlighted

Invokehttp unable to find valid certification path to requested target??

New Contributor

Hi,

H have created flow,

1) Get Json file using getfile processor and post that file using Invokehttp processor(https://integration-laven-ie-prod.laven.com/lm/test/).

2) I have 3 files

laven-ie-prod-laven-integration.crt

laven-ie-prod-laven-integration.key

laven-ie-prod-laven-integration.p12

3) Can someone help me how to use that file in Invokehttp processor,

a)When i am using .crt and .key file that time StandardSSLContextService show keystores properties is invalid

b)When using .p12 file that time show error

Routing to Failure due to exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: 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

can someone help me to figure out this issue.

Thanks in advance.

1 REPLY 1

Re: Invokehttp unable to find valid certification path to requested target??

New Contributor

Trying the same using curl command

curl -v -X POST \ --insecure \ --cert /home/test/certs/laven-ie-prod-laven-integration.crt \ --key /home/test/certs/laven-ie-prod-laven-integration.key \ --header "Content-Type: application/json" \ --data @/tmp/input/input.json \ https://integration-laven-ie-prod.laven.com/lm/test/

file is posted successfully

trying in Invokehttp processor but getting same error...