Gábor Gyimesi created NIFI-14199:
------------------------------------
Summary: NiFi won't start in HTTP mode if keyStore property is
commented out
Key: NIFI-14199
URL: https://issues.apache.org/jira/browse/NIFI-14199
Project: Apache NiFi
Issue Type: Bug
Reporter: Gábor Gyimesi
Attachments: nifi.properties, stacktrace.log
Starting NiFi in non-secure mode by commenting out the nifi.security.keystore
and nifi.security.truststore properties instead of leaving them empty fails the
startup process with the following error:
{code:java}
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'keyStore' defined in class path resource
[org/apache/nifi/framework/configuration/SslContextConfiguration.class]: Failed
to instantiate [java.security.KeyStore]: Factory method 'keyStore' threw
exception with message: Cannot invoke "java.lang.CharSequence.length()" because
"cs" is null {code}
Attached example nifi.properties file and stack trace.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)