Trying to integrate Apache Nifi with Apache Ranger gives: Unable to retrieve any resources using given parameters. Status Code = 401
I have been trying to integrate Nifi with Apache Ranger. When I manually configure policies in Ranger for Nifi the policies are fetched by Nifi and authorization works fine. But when I try to define the service definition and test the connection its is giving the following error.

The configuration in service definition is shown below.



The authentication in nifi is setup by following this article.
Note: Only Nifi is setup in SSL mode. Apache Ranger doesn't have SSL mode.
What could be the possible reason this is happening?

