<?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 Apache Nifi Web UI Setup in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279662#M208390</link>
    <description>&lt;P&gt;Hello. I've been following this tutorial (&lt;A href="https://www.batchiq.com/nifi-configuring-ssl-auth.html" target="_blank" rel="noopener"&gt;https://www.batchiq.com/nifi-configuring-ssl-auth.html&lt;/A&gt;) to the best of my ability, yet the web UI still does not want to start. I get the error message &lt;SPAN&gt;ERR_CONNECTION_REFUSED" when trying to access the nifi server through Google Chrome. It has also been this way when trying to access through Firefox, so I suppose this is more of a server error than anything else. The following is a relevant section of my conf file...&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# web properties #&lt;BR /&gt;nifi.web.war.directory=./lib&lt;BR /&gt;#nifi.web.http.host=&lt;BR /&gt;#nifi.web.http.port=8080&lt;BR /&gt;nifi.web.http.network.interface.default=&lt;BR /&gt;nifi.web.https.host=&lt;BR /&gt;nifi.web.https.port=8443&lt;BR /&gt;nifi.web.https.network.interface.default=&lt;BR /&gt;nifi.web.jetty.working.directory=./work/jetty&lt;BR /&gt;nifi.web.jetty.threads=200&lt;BR /&gt;nifi.web.max.header.size=16 KB&lt;BR /&gt;nifi.web.proxy.context.path=&lt;BR /&gt;nifi.web.proxy.host=&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# security properties #&lt;BR /&gt;nifi.sensitive.props.key=SyoerSecretFlyingPassword&lt;BR /&gt;nifi.sensitive.props.key.protected=SuperSecretFlyingPassword&lt;BR /&gt;nifi.sensitive.props.algorithm=PBEWITHMD5AND256BITAES-CBC-OPENSSL&lt;BR /&gt;nifi.sensitive.props.provider=BC&lt;BR /&gt;nifi.sensitive.props.additional.keys=&lt;/P&gt;
&lt;P&gt;nifi.security.keystore=server_keystore.js&lt;BR /&gt;nifi.security.keystoreType=JKS&lt;BR /&gt;nifi.security.keystorePasswd=SuperSecret&lt;BR /&gt;nifi.security.keyPasswd=SuperSecret&lt;BR /&gt;nifi.security.truststore=server_trustore.jks&lt;BR /&gt;nifi.security.truststoreType=JKS&lt;BR /&gt;nifi.security.truststorePasswd=SuperSecret&lt;BR /&gt;nifi.security.user.authorizer=managed-authorizer&lt;BR /&gt;nifi.security.user.login.identity.provider=&lt;BR /&gt;nifi.security.ocsp.responder.url=&lt;BR /&gt;nifi.security.ocsp.responder.certificate=&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;And here is the part of my log where the error message shows up...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2019-10-08 09:16:31,472 INFO [main] org.apache.nifi.NiFi Launching NiFi...&lt;BR /&gt;2019-10-08 09:16:31,791 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties path to be 'C:\Users\SPLASH~1\Desktop\PROGRA~1\Apache\NIFI-1~1.2-B\NIFI-1~1.2\.\conf\nifi.properties'&lt;BR /&gt;2019-10-08 09:16:31,791 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 149 properties from C:\Users\SPLASH~1\Desktop\PROGRA~1\Apache\NIFI-1~1.2-B\NIFI-1~1.2\.\conf\nifi.properties&lt;BR /&gt;2019-10-08 09:16:31,985 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.IllegalArgumentException: There was an issue decrypting protected properties&lt;BR /&gt;java.lang.IllegalArgumentException: There was an issue decrypting protected properties&lt;BR /&gt;at org.apache.nifi.NiFi.initializeProperties(NiFi.java:337)&lt;BR /&gt;at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:305)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:296)&lt;BR /&gt;Caused by: org.apache.nifi.properties.SensitivePropertyProtectionException: The provider factory cannot generate providers without a key&lt;BR /&gt;at org.apache.nifi.properties.AESSensitivePropertyProviderFactory.getProvider(AESSensitivePropertyProviderFactory.java:40)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.getSensitivePropertyProvider(NiFiPropertiesLoader.java:190)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.load(NiFiPropertiesLoader.java:249)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.load(NiFiPropertiesLoader.java:266)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.loadDefault(NiFiPropertiesLoader.java:173)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.get(NiFiPropertiesLoader.java:284)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could anyone please help?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2019 15:13:36 GMT</pubDate>
    <dc:creator>Splash</dc:creator>
    <dc:date>2019-10-08T15:13:36Z</dc:date>
    <item>
      <title>Apache Nifi Web UI Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279662#M208390</link>
      <description>&lt;P&gt;Hello. I've been following this tutorial (&lt;A href="https://www.batchiq.com/nifi-configuring-ssl-auth.html" target="_blank" rel="noopener"&gt;https://www.batchiq.com/nifi-configuring-ssl-auth.html&lt;/A&gt;) to the best of my ability, yet the web UI still does not want to start. I get the error message &lt;SPAN&gt;ERR_CONNECTION_REFUSED" when trying to access the nifi server through Google Chrome. It has also been this way when trying to access through Firefox, so I suppose this is more of a server error than anything else. The following is a relevant section of my conf file...&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# web properties #&lt;BR /&gt;nifi.web.war.directory=./lib&lt;BR /&gt;#nifi.web.http.host=&lt;BR /&gt;#nifi.web.http.port=8080&lt;BR /&gt;nifi.web.http.network.interface.default=&lt;BR /&gt;nifi.web.https.host=&lt;BR /&gt;nifi.web.https.port=8443&lt;BR /&gt;nifi.web.https.network.interface.default=&lt;BR /&gt;nifi.web.jetty.working.directory=./work/jetty&lt;BR /&gt;nifi.web.jetty.threads=200&lt;BR /&gt;nifi.web.max.header.size=16 KB&lt;BR /&gt;nifi.web.proxy.context.path=&lt;BR /&gt;nifi.web.proxy.host=&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;# security properties #&lt;BR /&gt;nifi.sensitive.props.key=SyoerSecretFlyingPassword&lt;BR /&gt;nifi.sensitive.props.key.protected=SuperSecretFlyingPassword&lt;BR /&gt;nifi.sensitive.props.algorithm=PBEWITHMD5AND256BITAES-CBC-OPENSSL&lt;BR /&gt;nifi.sensitive.props.provider=BC&lt;BR /&gt;nifi.sensitive.props.additional.keys=&lt;/P&gt;
&lt;P&gt;nifi.security.keystore=server_keystore.js&lt;BR /&gt;nifi.security.keystoreType=JKS&lt;BR /&gt;nifi.security.keystorePasswd=SuperSecret&lt;BR /&gt;nifi.security.keyPasswd=SuperSecret&lt;BR /&gt;nifi.security.truststore=server_trustore.jks&lt;BR /&gt;nifi.security.truststoreType=JKS&lt;BR /&gt;nifi.security.truststorePasswd=SuperSecret&lt;BR /&gt;nifi.security.user.authorizer=managed-authorizer&lt;BR /&gt;nifi.security.user.login.identity.provider=&lt;BR /&gt;nifi.security.ocsp.responder.url=&lt;BR /&gt;nifi.security.ocsp.responder.certificate=&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;And here is the part of my log where the error message shows up...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2019-10-08 09:16:31,472 INFO [main] org.apache.nifi.NiFi Launching NiFi...&lt;BR /&gt;2019-10-08 09:16:31,791 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties path to be 'C:\Users\SPLASH~1\Desktop\PROGRA~1\Apache\NIFI-1~1.2-B\NIFI-1~1.2\.\conf\nifi.properties'&lt;BR /&gt;2019-10-08 09:16:31,791 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 149 properties from C:\Users\SPLASH~1\Desktop\PROGRA~1\Apache\NIFI-1~1.2-B\NIFI-1~1.2\.\conf\nifi.properties&lt;BR /&gt;2019-10-08 09:16:31,985 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.lang.IllegalArgumentException: There was an issue decrypting protected properties&lt;BR /&gt;java.lang.IllegalArgumentException: There was an issue decrypting protected properties&lt;BR /&gt;at org.apache.nifi.NiFi.initializeProperties(NiFi.java:337)&lt;BR /&gt;at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:305)&lt;BR /&gt;at org.apache.nifi.NiFi.main(NiFi.java:296)&lt;BR /&gt;Caused by: org.apache.nifi.properties.SensitivePropertyProtectionException: The provider factory cannot generate providers without a key&lt;BR /&gt;at org.apache.nifi.properties.AESSensitivePropertyProviderFactory.getProvider(AESSensitivePropertyProviderFactory.java:40)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.getSensitivePropertyProvider(NiFiPropertiesLoader.java:190)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.load(NiFiPropertiesLoader.java:249)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.load(NiFiPropertiesLoader.java:266)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.loadDefault(NiFiPropertiesLoader.java:173)&lt;BR /&gt;at org.apache.nifi.properties.NiFiPropertiesLoader.get(NiFiPropertiesLoader.java:284)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could anyone please help?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 15:13:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279662#M208390</guid>
      <dc:creator>Splash</dc:creator>
      <dc:date>2019-10-08T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi Web UI Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279718#M208413</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70107"&gt;@Splash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem you are facing is well known with nifi "&lt;SPAN&gt;&lt;STRONG&gt;There was an issue decrypting protected properties&lt;/STRONG&gt;" It seems you can't decrypt the password in the &lt;STRONG&gt;nifi.properties&lt;/STRONG&gt;&amp;nbsp; have a look at this link &lt;A href="http://www.contemplatingdata.com/2017/08/28/apache-nifi-sensitive-properties-need-know/" target="_blank" rel="noopener"&gt;nifi .properties&lt;/A&gt; especially read carefully&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;3. Setting-up/Migrating encryption key you might need to run&amp;nbsp;e&lt;STRONG&gt;ncrypt-config.sh&lt;/STRONG&gt; script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need more help&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 02:54:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279718#M208413</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-10-09T02:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi Web UI Setup</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279768#M208451</link>
      <description>&lt;P&gt;Ok. WIll do. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 12:11:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Web-UI-Setup/m-p/279768#M208451</guid>
      <dc:creator>Splash</dc:creator>
      <dc:date>2019-10-09T12:11:59Z</dc:date>
    </item>
  </channel>
</rss>

