-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nipyapi login issue to NiFi with LDAP authentication #344
Comments
Have you looked at the secure demo? |
<Update 1>
which returns True While running I have a login user "SCRIPT_USER", would it be possible to set as proxy user somewhere? |
I am sorry, I don't know. The secure demo works ( or did the last I tried ). I suggest you see if you can get the demo working without your stuff, and if you can, then you can examine the differences between your setups maybe? |
In the linked ticket, the user uses the set_ssl_context call, rather than updating the default context. I don't think you need a proxy user for plain NiFi usage - that was traditionally for when you wanted NiFi to take actions on Registry as a pass-through. |
Description
Our nifi currently is connected to LDAP for login authentication. This caused an error during login via nipyapi:
"ValueError: Username/Password login not supported by this NiFi."
Saw in some posts that we can use client certificates to generate access token for login. I was able to proceed with cli.sh from the nifi-toolkit. So now I plan to adjust my current nipyapi script to also apply certificates upon login/access token request.
What I Did
I tried to add ssl_context but I am bit confused as to what settings / certificates do I need to use.
I have the following certs:
client.cer
client.key
truststore.jks
keystore.jks
I tried to do the following functions:
set_service_ssl_context, nipypi.nifi_config
Urgency
Not urgent but any help is appreciated. Please let me know what information I can add to this.
The text was updated successfully, but these errors were encountered: