Enabling TLS in NiFi

Viewed 4035
  1. I enabled TLS in NiFi by running the below command,

    nifi-toolkit/nifi-toolkit-assembly/target/nifi-toolkit-1.4.0-SNAPSHOT-bin/nifi-toolkit-1.4.0-SNAPSHOT/bin/tls-toolkit.sh standalone -n "{my-ip},localhost" -C 'CN={my-ip}' -C 'CN=localhost' -o ./certs

  2. This created the files required for TLS under the directory certs.

  3. I moved the files under the directory certs into the conf folder of the deployment in my machine.

  4. Installed the certificate to my machine's Keychain Access.

  5. Now started the server using bin/nifi.sh start. My server starts, I am able to hit the server, But my request is not authorized.

I am getting the below error,

Not authorized for the requested resource. Contact the system administrator.

enter image description here

1 Answers
Related