<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Changing nifi.sensitive.props.key value?? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337268#M232541</link>
    <description>&lt;P&gt;Hi! Thanks for responding to my question. But it doesn't seem run-nifi.bat supports switch&amp;nbsp;set-sensitive-properties-key.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you read run-status.bat, it has no logic to support switch "set-sensitive-properties-key".&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 14:03:24 GMT</pubDate>
    <dc:creator>myuintelli2021</dc:creator>
    <dc:date>2022-02-28T14:03:24Z</dc:date>
    <item>
      <title>Changing nifi.sensitive.props.key value??</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/188138#M150236</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When i initially setup NiFi instance i missed setting this property nifi.sensitive.props.key&lt;/P&gt;&lt;P&gt;Can i change it to have some value now..? If yes , Can i go ahead and put some value.?? Will my existing flows work or What is the best way to do it without loosing existing flows.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 03:20:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/188138#M150236</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2017-11-02T03:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing nifi.sensitive.props.key value??</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/188139#M150237</link>
      <description>&lt;P&gt;i found it in the documentation and successfully able to update my nifi.sensitive.props.key&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#existing-flow-migration"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#existing-flow-migration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 04:10:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/188139#M150237</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2017-11-03T04:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing nifi.sensitive.props.key value??</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337148#M232504</link>
      <description>&lt;P&gt;My nifi services are running on windows. Do we know how to set the nifi.sensitive.props.key.value since nish.sh can't be run on windows.&lt;BR /&gt;&lt;BR /&gt;Also, according to&amp;nbsp;&lt;A href="https://cwiki.apache.org/confluence/display/NIFI/Migration+Guidance," target="_blank"&gt;https://cwiki.apache.org/confluence/display/NIFI/Migration+Guidance,&lt;/A&gt;&amp;nbsp;it seems&amp;nbsp;&lt;SPAN&gt;nifi.sensitive.props.key should be automatically generated upon first nifi start, which didn't happen for my 1.15.3 installation on windows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead, I got following stack trace in nifi-app.log:&lt;BR /&gt;2022-02-25 15:13:11,748 ERROR [main] o.a.nifi.properties.NiFiPropertiesLoader Flow Configuration [.\conf\flow.xml.gz] Found: Migration Required for blank Sensitive Properties Key [nifi.sensitive.props.key]&lt;BR /&gt;2022-02-25 15:13:11,748 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi&lt;BR /&gt;java.lang.IllegalArgumentException: There was an issue decrypting protected properties&lt;BR /&gt;at org.apache.nifi.NiFi.initializeProperties(NiFi.java:373)&lt;BR /&gt;at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:341)&lt;BR /&gt;at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:337)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:329)&lt;BR /&gt;Caused by: org.apache.nifi.properties.SensitivePropertyProtectionException: Sensitive Properties Key [nifi.sensitive.props.key] not found: See Admin Guide section [Updating the Sensitive Properties Key]&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.getDefaultProperties(NiFiPropertiesLoader.java:231)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.get(NiFiPropertiesLoader.java:214)&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:566)&lt;BR /&gt;at org.apache.nifi.NiFi.initializeProperties(NiFi.java:368)&lt;BR /&gt;... 3 common frames omitted&lt;BR /&gt;&lt;BR /&gt;Does anyone have any previous experience generating the key for a nifi migration on windows server?&lt;BR /&gt;&lt;BR /&gt;Ming&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 20:24:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337148#M232504</guid>
      <dc:creator>myuintelli2021</dc:creator>
      <dc:date>2022-02-25T20:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Changing nifi.sensitive.props.key value??</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337168#M232511</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88947"&gt;@myuintelli2021&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The NiFi binaries come with a&amp;nbsp;run-nifi.bat in addition of nifi.sh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Feb 2022 01:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337168#M232511</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-27T01:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing nifi.sensitive.props.key value??</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337268#M232541</link>
      <description>&lt;P&gt;Hi! Thanks for responding to my question. But it doesn't seem run-nifi.bat supports switch&amp;nbsp;set-sensitive-properties-key.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you read run-status.bat, it has no logic to support switch "set-sensitive-properties-key".&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 14:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337268#M232541</guid>
      <dc:creator>myuintelli2021</dc:creator>
      <dc:date>2022-02-28T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing nifi.sensitive.props.key value??</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337332#M232547</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88947"&gt;@myuintelli2021&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good point! I hadn't noticed that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can download the NiFi Toolkit and use the encrypt-config.bat to perform the key migration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this out:&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/toolkit-guide.html#sensitive-property-key-migration" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/toolkit-guide.html#sensitive-property-key-migration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The toolkit contains a Windows version of the script (encrypt-config.bat).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 23:45:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Changing-nifi-sensitive-props-key-value/m-p/337332#M232547</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-28T23:45:04Z</dc:date>
    </item>
  </channel>
</rss>

