Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
05-10-2018
02:23 PM
- last edited on
04-21-2026
05:17 AM
by
GrazittiAPI
nifi-ssl.pngI have enabled SSL in NIFI cluster everything is seems to good but after logging into one of node its not showing up the user its suppose to be ?
For reference I have attached a image...
Could someone help on this ?
Created 05-10-2018 02:34 PM
-
Not sure I am following your question. The UI displays the user which is currently authenticated in to the UI.
-
Are you not expecting to see "CN=niifiadmin, OU=HORTONWORKS"? What are you expecting to see?
-
What forms of user authentication are you configured to use?
User/client certificate? <-- User name displayed in upper right comes from DN in user/client certificate
LDAP authentication? <-- User name can come from user DN in LDAP (USE_DN) or username entered in login window (USE_USERNAME)
Kerberos authentication? <-- User name comes from user entered principal. <user>@<domain> (so pretty sure you are not using kerberos for authentication.)
-
Thanks,
Matt
Created 05-10-2018 02:26 PM
Created 05-10-2018 02:34 PM
-
Not sure I am following your question. The UI displays the user which is currently authenticated in to the UI.
-
Are you not expecting to see "CN=niifiadmin, OU=HORTONWORKS"? What are you expecting to see?
-
What forms of user authentication are you configured to use?
User/client certificate? <-- User name displayed in upper right comes from DN in user/client certificate
LDAP authentication? <-- User name can come from user DN in LDAP (USE_DN) or username entered in login window (USE_USERNAME)
Kerberos authentication? <-- User name comes from user entered principal. <user>@<domain> (so pretty sure you are not using kerberos for authentication.)
-
Thanks,
Matt
Created 05-10-2018 04:57 PM
*** Forum Tip: Please try to avoid responding to an existing Answer by starting a new Answer. This makes following multiple response threads difficult. Instead use "add comment" to respond to a posted answer.
-
The attached image shows that the user who is currently logged in as ""CN=niifiadmin, OU=HORTONWORKS". Your comment says you expect to see this and that is what is being shown, so I am little confused. Sorry if I am missing something here.
-
Are you saying that you expected the UI to instead show ""CN=niifiadmin, OU=CLOUD.HORTONWORKS.COM"?
-
The UI is only going to display what is presented in the certificate being used for authentication.
Try performing a verbose listing on your client certificate to see what the actual DN is.
-
Sharing your nifi-users.log, authorizers.xml, users.xml, and authorizations.xml files may shed some light on what is going on here.
also sharing the verbose output of your client cert would help.
-
Thanks,
Matt
Created 05-10-2018 05:06 PM
nifi-ssl-my-screen.pngI got you. the image I have attached is from different blog so like the image its not showing up for me when I am logged into any of nifi nodes.
The earlier image is reference and the one now I have attached is my screen shot .
I hope this clears your doubt & its my bad It wasn't clear in earlier posts .
Created 05-10-2018 05:16 PM
The screenshot you just attached shows a non secure NiFi running over HTTP on port 9090. There is no user authentication that will occur for a unsecured NiFi. User authentication and authorization will only occur for a secured NiFi running over https.
Thanks,
Matt
Created 05-10-2018 05:26 PM
yup got it thanks.By mistake I have unchecked Enable SSL checkbox in NIFI config after checking back I could see them .
Thanks @Matt Clarke
Created 05-10-2018 05:29 PM
Glad to hear we got this all worked out... 🙂
Please take a moment to login and click the "accept" link for this answer to close out the thread.
-
Thank you,
Matt
Created 05-10-2018 02:40 PM
I am expecting to see user name (CN=niifiadmin, OU=HORTONWORKS) at top right corner that I mentioned in the image of the first post.
I am using the User/client certificate that are generated by NiFi TLS-toolkit
Created 05-10-2018 04:23 PM
What user are you seeing logged in? Is logged in user same as one defined in file authorizers.xml > "Initial Admin Identiry" ?