Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi 1.14 asks for username and password on Windows

avatar
Contributor

My environment is testing on Windows 10. I installed version 1.14 and started. The chrome 91.0.4472.124 says it is not secure and I confirm to go to the site "https://localhost:8443/" not secure. The address changes to "https://localhost:8443/nifi/login" and asks for username and password. What username and password should I use? Where can I generate this username and password?

1 ACCEPTED SOLUTION

avatar
Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
10 REPLIES 10

avatar
Contributor

GabrielNifi_0-1626355599232.png

 

avatar
Contributor

In this video, at 3:01 time, we see username and password is being automatically generated on Nifi 1.14 Linux. On Windows, this doesn't happen. Also, we have "nifi.sh" only for Linux. There is no "nifi.bat" to generate username and password, yet.

 

https://www.youtube.com/watch?v=h503MibiENY

avatar
Community Manager

Hi @GabrielNifi,

 

I'm not an expert but I did locate a section on windows under "How to install and start NiFi" in the NiFi System Administrator’s Guide. Hopefully it holds the answer for you. 


Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Contributor

Thanks, but the documentation has not yet been updated to version 1.14.

avatar
Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Community Manager
I'm happy to see you found the solution. Thank you for sharing it in case it can assist others.

Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Explorer

An additional note for anyone coming here that isn't seeing the Generated Username/Password log entries (for example on Docker), you can set those by running bin/nifi.sh set-single-user-credentials <Username> <Password>.

 

avatar
New Contributor

When I'm trying to set user, password for single user login then its not working.

./nifi.sh set-single-user-credentials admin admin1234567 

avatar
New Contributor

@Khilendra 

From within this path: 

 

(change version to your own)

/usr/local/Cellar/nifi/1.15.2/libexec/

 

Be sure to have it as follows:

bin/nifi.sh set-single-user-credentials "admin" "admin1234567"