From c5322c5a12fccd089252cab127e0dbd8d0ad80dc Mon Sep 17 00:00:00 2001 From: Sebastian Valle Date: Sun, 11 Oct 2020 17:22:01 -0500 Subject: [PATCH] Leave all the security configurations blank in nifi.properties by default. 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 #77 --- configs/nifi.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/nifi.properties b/configs/nifi.properties index c5119ca8..66d5ae73 100644 --- a/configs/nifi.properties +++ b/configs/nifi.properties @@ -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}}