[
https://issues.apache.org/jira/browse/MINIFI-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906324#comment-16906324
]
Aldrin Piri commented on MINIFI-509:
------------------------------------
https://github.com/apache/nifi-minifi/pull/164
> 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: Aldrin Piri
> Priority: Major
>
> 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)