How to Authorize NiFi Cluster Nodes in Ranger Using Non-Wildcard Certificates
HI All,
In our cluster NIFI is SSL enabled. Ranger is not SSL enabled. Both NIFI and Ranger are integrated with AD/LDAP.
Before enabling NIFI plugin in Ranger, our AD/LDAP users are able to see NIFI UI.
But after enabling NIFI plugin in Ranger, our AD/LDAP users are not able to see NIFI UI.
We are getting following message on NIFI screen:
Insufficient Permissions
Untrusted proxy CN=*.test.com, OU=NIFI
nifi-user.log shows Authentication success but Untrusted proxy error as follows:
2018-06-07 07:00:13,447 INFO [NiFi Web Server-19] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<JWT token>) GET https://usdf24v0075.test.com:9091/nifi-api/flow/current-user (source ip: 10.23.118.51)
2018-06-07 07:00:13,449 INFO [NiFi Web Server-19] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for test-user
2018-06-07 07:00:13,612 INFO [NiFi Web Server-18] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<test-user><CN=*.test.com, OU=NIFI>) GET https://usdf24v0075.test.com:9091/nifi-api/flow/current-user (source ip: 10.23.132.140)
2018-06-07 07:00:13,615 WARN [NiFi Web Server-18] o.a.n.w.s.NiFiAuthenticationFilter Rejecting access to web api: Untrusted proxy CN=*.test.com, OU=NIFI
I have also deleted authorizers.xml and users.xml file from NIFI node and restarted NIFI as well.
How to resolve it.?
Please suggest.
Thanks

