Created 08-29-2017 07:24 AM
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.
Created 08-29-2017 07:55 AM
Created 08-29-2017 11:49 AM
Do you know if there is any insecure connection i can use via rest api to get processors verson? for some reasons i can't export ssl certificate authorities and put it into keystore,is there any way i can connect processor data inside nifi without authentification i don't use curl i want to make it via nifi processors and code
Created 08-29-2017 10:41 AM
for some reason i can't export certificate and see it's authority is there any way i can use insecure connection to use rest api commands inside nifi?
Created 08-29-2017 11:20 AM
I mean using POST ,PUT and related commands for example i have content like this and i have noke http processor in my nifi which i have on desktop i can stop the processor by related workflow, how can i do it with remote nifi server which has ssl autentification , can i use insecure connection fro it? and how can i make it?
{\n' + ' "status": {\n' + ' "runStatus": "STOPPED"\n' + ' },\n' + ' "component": {\n' + ' "state": "STOPPED",\n' + ' "id": "f511a6a1-015d-1000-970e-969eac1e6fc5"\n' + ' },\n' + ' \n' + ' "revision": {\n' + ' "version": 72,\n' + ' "clientId": "0d99776c-015e-1000-bc5d-64cc24d185c1"\n' + ' }\n' + '}';
Created 08-29-2017 12:34 PM
Once the target NiFi has been secured (running over https), Authentication is required to access the rest api end-points.
Created 08-29-2017 12:55 PM
Do you know how can i make autentipication without url commands i got token via browser request , can i use simply groovy code and invokehttp processors for autentification?