You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2019/08/13 17:19:00 UTC
[jira] [Updated] (MINIFI-509) SSL Context defined in bootstrap Not
Working?
[ https://issues.apache.org/jira/browse/MINIFI-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aldrin Piri updated MINIFI-509:
-------------------------------
Fix Version/s: 0.6.0
> SSL Context defined in bootstrap Not Working?
> ---------------------------------------------
>
> Key: MINIFI-509
> URL: https://issues.apache.org/jira/browse/MINIFI-509
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Reporter: Ryan Whittington
> Assignee: Ferenc Kis
> Priority: Major
> Fix For: 0.6.0
>
>
> I'm trying to set my SSL-Context-Service properties using the bootstrap.conf, but it doesn't seem to propagate through to the flow.xml.gz when minifi starts/reloads - and isn't available to use in my flow?
> As this feature was recently added in MINIFI-501 by [~aldrin], I'm building minifi from the master branch on github.
> bootstrap.conf:
>
> {code:java}
> # Security Properties #
> # These properties take precedence over any equivalent properties specified in config.yml #
> nifi.minifi.security.keystore=/my/test/keystore.jks
> nifi.minifi.security.keystoreType=JKS
> nifi.minifi.security.keystorePasswd=mykeystorepassword
> nifi.minifi.security.keyPasswd=mykeypassword
> nifi.minifi.security.truststore=/my/test/truststore.jks
> nifi.minifi.security.truststoreType=JKS
> nifi.minifi.security.truststorePasswd=mytruststorepassword
> nifi.minifi.security.ssl.protocol=TLS
> {code}
>
> flow.xml.gz once running:
> {noformat}
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <flowController encoding-version="1.3">
> <maxTimerDrivenThreadCount>1</maxTimerDrivenThreadCount>
> <maxEventDrivenThreadCount>1</maxEventDrivenThreadCount>
> <registries/>
> <rootGroup>
> <id>Root-Group</id>
> <name>MiNiFi Flow</name>
> <position x="0.0" y="0.0"/>
> <comment/>
> </rootGroup>
> <controllerServices/>
> <reportingTasks/>
> </flowController>{noformat}
> Am I doing something wrong, or is this not fully implemented yet?
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)