HandleHttpRequest / StandardRestrictedSSLContextService
How do I restrict the access to an endpoint provided by HandleHttpRequest to specific users?
I did setup successfully a HandleHttpRequest-HandleHttpResponse chain, with Client Authentication = "Need Authentication". I provided a key- and truststore and users with a client certificate trusted by CA cert in the truststore can access the endpoint.
However, I do not want everybody in my company to access this endpoint, I want to restrict this to a small group of users (actually to one single server).
For testing purposes I created an empty truststore and imported into this truststore only my client certificate. However, now I cannot access the endpoint anymore (ERR_BAD_SSL_CLIENT_AUTH_CERT).
How do I configure the JKS truststore to only trust one specific client? Or how do I configure HandleHttpRequest processor?
If this is not possible, are there any other possibilities?
Could I somehow use a Nifi-REST-API-Token?
Could I somehow authenticate with the help of LDAP?
Thank you!

