Skip to content

Commit

Permalink
Leave all the security configurations blank in nifi.properties by def…
Browse files Browse the repository at this point in the history
…ault.

Nifi 1.12.1 checks whether any of these `nifi.security.XXX` values is non-empty to determine whether the user wants to set a keystore or not.

We leave them blank by default so unsecured clusters will at least run.

Fixes the "TlsException: The keystore properties are not valid" error when starting up.

Fixes cetic#77
  • Loading branch information
Subv authored Oct 11, 2020
1 parent 91d6a4f commit c5322c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/nifi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ nifi.sensitive.props.provider=BC
nifi.sensitive.props.additional.keys=

nifi.security.keystore=
nifi.security.keystoreType=jks
nifi.security.keystoreType=
nifi.security.keystorePasswd=
nifi.security.keyPasswd=
nifi.security.truststore=
nifi.security.truststoreType=jks
nifi.security.truststoreType=
nifi.security.truststorePasswd=
nifi.security.needClientAuth={{.Values.properties.needClientAuth}}
nifi.security.user.authorizer={{.Values.properties.authorizer}}
Expand Down

0 comments on commit c5322c5

Please sign in to comment.