Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Set up the certificate in minifi.properties:

    Code Block
    nifi.remote.input.secure=true
    nifi.security.need.ClientAuth=false
    nifi.security.client.certificate=/opt/nifi/data/ssl/nifi-rest.crt
    nifi.security.client.private.key=/opt/nifi/data/ssl/nifi-rest.key
    nifi.security.client.pass.phrase=/opt/nifi/data/ssl/CN=minifi_OU=NIFI.password
    nifi.security.client.ca.certificate=/opt/nifi/data/ssl/nifi-cert.pem
    
    # These are not needed
    #nifi.rest.api.user.name=
    #nifi.rest.api.password=


  2. Update the port NiFi address in config.yml by changing http  to https and changing the port from 8080 to 9443 in the Remote Process Group:

    Code Block
    ...
    Remote Process Groups:
    - id: c171f9da-689f-41e2-98c4-9d785c59c306
      name: httphttps://<hostname>:9443/nifi/
      url: httphttps://<hostname>:9443/nifi/
      comment: ''
    ...

    And restart MiNiFi.

...