Uploaded image for project: 'Apache NiFi MiNiFi - MOVED TO NIFI PROJECT'
  1. Apache NiFi MiNiFi - MOVED TO NIFI PROJECT
  2. MINIFI-509

SSL Context defined in bootstrap Not Working?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • None
    • None

    Description

      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:

       

      # 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
      

       

      flow.xml.gz once running:

      <?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>

      Am I doing something wrong, or is this not fully implemented yet?

      Attachments

        Issue Links

          Activity

            People

              briansolo1985 Ferenc Kis
              rwhittington Ryan Whittington
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m