Created 03-05-2017 02:37 PM
Hi All,
Wanted to display the log in window for apache nifi http server. Can anyone please let me know the setting to display the log in window for http instead of https.
Created 03-06-2017 09:12 PM
@Joe Petro
NiFi must be secured to run over HTTPS using a server certificates (loaded into a keystore) and a truststore before you can enable some form of user authentication. You can create your own keystore and truststore using the below procedure:
Note: If you are going to be using LDAP or Kerberos for user authentication, you can skip the last part of the above procedure about generating a user SSL certificate to load in your browser.
Thanks,
Matt
Created 03-06-2017 09:10 PM
The same question was already answered twice:
To clarify you can not login over "http", only via "https". It would not be secure to send your LDAP credentials from the browser to the NiFi server over unencrypted http.
Created 03-08-2017 07:50 PM
Thanks, I don't understand why NiFi wouldn't have a default login page for an admin user. It seems strange that no user login is required on http and can only be done via https. Every other HDP component has at least a basic UI login.
Created 03-08-2017 11:17 PM
A default login page for an admin user served over HTTP provides the illusion of security -- security theater -- but does absolutely nothing to improve the security of the system while adding obstacles to ease of use.
Created 11-23-2018 04:37 PM
That is true, but some times such an option can be good for a little access control and avoiding not seriously harmfull but unwanted activities on the server.
Created 11-27-2018 06:54 PM
We fundamentally disagree on the utility and value of that feature. Providing a login page which does not secure the transmission of sensitive credentials against trivial intercept and can be bypassed easily does not provide sufficient value and leads to a number of problems:
For these reasons, NiFi does not offer an option for authentication or authorization controls over plaintext HTTP. HTTPS must be configured to enable those mechanisms to avoid a false sense of security and prevent user/admin complacency.
Created on 11-28-2018 08:13 PM - edited 08-19-2019 01:37 AM
@Joe P I cannot reply to your comment for some reason, so I'm putting my response here.
I do not set the security policy for Ambari or any other Apache project. Every project evaluates security differently and makes decisions to reach a balance they find acceptable.
I am only one member of the NiFi community as well, but our community has agreed on this policy for NiFi. We invite all community members and users to contribute ideas and engage in discussion on design decisions. You are welcome to request the changes you want, but I will say that the previous discussion around that obviously went in this direction and I don't see any new information in your position than was previously discussed.
Created 11-28-2018 07:55 PM
If that's the case, then why does Ambari have a login page without https? Sometimes it's useful to setup the login first, then add a security layer. It helps with troubleshooting and not having a login for Ambari (for example) would be confusing! So why is this any different?
Created 03-06-2017 09:12 PM
@Joe Petro
NiFi must be secured to run over HTTPS using a server certificates (loaded into a keystore) and a truststore before you can enable some form of user authentication. You can create your own keystore and truststore using the below procedure:
Note: If you are going to be using LDAP or Kerberos for user authentication, you can skip the last part of the above procedure about generating a user SSL certificate to load in your browser.
Thanks,
Matt
Created 02-12-2019 11:43 AM
@Joe P did you set up https i.e. did you enable SSL on the server?