Support Questions

Find answers, ask questions, and share your expertise

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

Solution:

 

https://github.com/apache/nifi

 

"

Authenticating

The default configuration generates a random username and password on startup. NiFi writes the generated credentials to the application log located in logs/nifi-app.log under the NiFi installation directory.

The following command can be used to find the generated credentials on operating systems with grep installed:

laptop:nifi-1.0.0-SNAPSHOT myuser$ grep Generated logs/nifi-app*log

NiFi logs the generated credentials as follows:

Generated Username [USERNAME]
Generated Password [PASSWORD]

"

File Explorer > Nifi Folder > "logs" Folder > Edit "nifi-app.log" > Search "Generated Username"

 

View solution in original post

10 REPLIES 10

avatar
New Contributor

great it works