0
votes

I am invoking an API command (nifi-api/access/token) to get the access token. But i am getting error like this java.net.SSLHandShakeException unable to find valid certification path for requested target. we have LDAP configured in NiFi Cluster and i am able to login to NiFi UI using my credentials. I have started exploring the NiFi rest API for the first time. Any help would be appreciated !!

(P.S I want to use rest api by codes and native processors ( i can do in simple nifi which i have on my desktop) how can i make my task on nifi with kerberso autentification?

Thank you in Advance.

1
it trows exception like this PKIX building path:unable to find valid certificate path to requested target - Sagitarius
I have token bearer but don't know how to add it to my request - Sagitarius
export public certificate chain for your server url: you can use browser - information about certificate. add this certificate into truststore: you can use keytool from java jdk. use truststore to connect from client to server. - daggett
how can i import this certificate from browser? - Sagitarius
I found it ...... - Sagitarius

1 Answers

1
votes

import certificate into truststore.jks using keytool. then in the invokehttp processor use SSL Context Service that should point to your truststore.jks