insufficient permissions untrusted proxy
I have step up 3 node (node1, node2, node3) nifi cluster and I am able to access it with http protocol, When I try to make those 3 node secure(https). I am facing "insufficient permissions untrusted proxy" in web UI.
After setup 3 node cluster in node1 i followed the steps to make secure connection.
Step:1 By using below step I have Generate Keys and Certificates
/opt/nifi-toolkit/bin/tls-toolkit.sh standalone -n 'node1' -B ClientPassword -C 'CN=admin,OU=NIFI' -O -o /opt/nifi-1.19.1/conf/certs
after run this I got below files
/opt/nifi-1.19.1/conf/certs/
├── CN=admin_OU=NIFI.p12
├── CN=admin_OU=NIFI.password
├── node1
│ ├── keystore.jks
│ ├── nifi.properties
│ └── truststore.jks
├── nifi-cert.pem
└── nifi-key.key
Step:2
I have over write the /opt/nifi-1.19.1/conf/certs/node1/nifi.properties to conf/nifi.properties
Then Edit the nifi.properties
nifi.security.user.authorizer=managed-authorizer
Step:3
Updated Security Properties Key
/opt/nifi-1.19.1/bin/nifi.sh set-sensitive-properties-key xyz12345
Step:4 Edited the authorizers.xml as below
<authorizers>
<userGroupProvider>
<identifier>file-user-group-provider</identifier>
<class>org.apache.nifi.authorization.FileUserGroupProvider</class>
<property name="Users File">./conf/users.xml</property>
<property name="Legacy Authorized Users File"></property>
<property name="Initial User Identity 1">CN=admin, OU=NIFI</property>
</userGroupProvider>
<accessPolicyProvider>
<identifier>file-access-policy-provider</identifier>
<class>org.apache.nifi.authorization.FileAccessPolicyProvider</class>
<property name="User Group Provider">file-user-group-provider</property>
<property name="Authorizations File">./conf/authorizations.xml</property>
<property name="Initial Admin Identity">CN=admin, OU=NIFI</property>
<property name="Legacy Authorized Users File"></property>
<property name="Node Identity 1">CN=admin, OU=NIFI</property>
<property name="Node Group"></property>
</accessPolicyProvider>
<authorizer>
<identifier>managed-authorizer</identifier>
<class>org.apache.nifi.authorization.StandardManagedAuthorizer</class>
<property name="Access Policy Provider">file-access-policy-provider</property>
</authorizer>
</authorizers>
Step:4 Removed users.xml authorizations.xml
cd ./conf/
rm -rf users.xml authorizations.xml
Step:5 started the nifi
./nifi.sh start
Imported the CN=admin_OU=NIFI.p12 certs to my browser and try to accessing the I am able to access it, after that I have noted in nifi.properties nifi.cluster.is.node=false then i changed to nifi.properties nifi.cluster.is.node=ture
after changing to true I am unable to access it. getting error in web UI like insufficient permissions untrusted proxy CN=node1, OU=NIFI

