nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Burgess (Jira)" <j...@apache.org>
Subject [jira] [Updated] (MINIFI-509) SSL Context defined in bootstrap Not Working?
Date Wed, 28 Apr 2021 16:00:05 GMT

     [ https://issues.apache.org/jira/browse/MINIFI-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Burgess updated MINIFI-509:
--------------------------------
    Fix Version/s:     (was: 0.6.0)
                   1.14.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: 1.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Mime
View raw message