Member since
07-05-2018
2
Posts
0
Kudos Received
0
Solutions
07-06-2018
08:14 AM
Thanks for your quick answer it resolved my problem 🙂
... View more
07-05-2018
08:49 AM
I'm trying to configure Apache Nifi 1.6 with client site certificate to authenticate users. It works, a can log in but I don't have admin privileges. How I generated cert: docker run -v $PWD:/data apache/nifi-toolkit tls-toolkit standalone -o /data -n 'nifi.local' -C 'CN=admin, L=Bmore, ST=MD, O=Apache, OU=NiFi, C=US'
How I started Nifi instance: docker run --name nifi \
-v /path/to/certs/:/opt/certs/ \
-p 443:8443 \
-e AUTH=tls \
-e KEYSTORE_PATH=/opt/certs/keystore.jks \
-e KEYSTORE_TYPE=JKS \
-e KEYSTORE_PASSWORD=tQAouUIDCe9k0+j4hBxTfJ4dHDgOw2LQbdfQpKmCKuQ \
-e TRUSTSTORE_PATH=/opt/certs/truststore.jks \
-e TRUSTSTORE_PASSWORD=L8rTW2VUEoXQvAWbhf1JEkCKZ/B80ac21sRF5tFqfOg \
-e TRUSTSTORE_TYPE=JKS \
-e INITIAL_ADMIN_IDENTITY='CN=admin, L=Bmore, ST=MD, O=Apache, OU=NiFi, C=US' \
-e NIFI_WEB_PROXY_HOST=nifi.local \
apache/nifi:latest I can log in but I don't have admin privileges. Everything is inactive and I can't do anything as in the image below. What could be the reason? Kindly have a look and advise.
... View more
Labels:
- Labels:
-
Apache NiFi