<?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: Apache Nifi 2.0 Dockerized running insecure on HTTP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397993#M250032</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/115127"&gt;@anon12345&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2024 22:48:47 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2024-11-25T22:48:47Z</dc:date>
    <item>
      <title>Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397979#M250028</link>
      <description>&lt;P&gt;I'm currently trying to get Nifi running in docker in the insecure mode without tls enabled. The reason for this is I want to run Nifi with ssl termination upstream and not have to deal with the complications of having to manage truststores and keystores.&lt;/P&gt;&lt;P&gt;By default it seems that even configuring the environment variables for `nifi_web_http_port` and `nifi_web_http_host` will not remove the default configuration for the https port and host.&lt;/P&gt;&lt;P&gt;I've modified the start.sh script for the container to set the http_port and http_host to be the expected values and removing the default values for https_port and https_host. I've also set the configuration `nifi.remote.input.secure` to be false. Now on startup Nifi failing to load a Key Store at ./conf/keystore.p12. Even with tls seemingly disabled by the means I've found necessary from all other guides on the matter Nifi is still expecting a keystore?&lt;/P&gt;&lt;P&gt;Has anyone had success with running nifi 2.0 insecure in docker?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 16:08:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397979#M250028</guid>
      <dc:creator>anon12345</dc:creator>
      <dc:date>2024-11-25T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397992#M250031</link>
      <description>&lt;P&gt;So it turns out if you "unset" the following properties in the start.sh script like so,&amp;nbsp; you are able to run nifi without tls&lt;/P&gt;&lt;P&gt;nifi.security.keystore&lt;/P&gt;&lt;P&gt;nifi.seucrity.keystoreType&lt;/P&gt;&lt;P&gt;nifi.security.truststore&lt;/P&gt;&lt;P&gt;nifi.security.truststoreType&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 21:56:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397992#M250031</guid>
      <dc:creator>anon12345</dc:creator>
      <dc:date>2024-11-25T21:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397993#M250032</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/115127"&gt;@anon12345&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 22:48:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/397993#M250032</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-11-25T22:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399264#M250461</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/115127"&gt;@anon12345&lt;/a&gt;&amp;nbsp;Just to clarify, presumably is this over and above your modifications to start.sh?&lt;/P&gt;&lt;P&gt;I can't find anywhere that says plain http is supported in 2.0, but I'm ready to give up trying to get https playing nice with traefik, so this whole complication is redundant anyway.&lt;/P&gt;&lt;P&gt;Here's what I've tried:-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;❯ docker run --rm --name nifi \&lt;BR /&gt;-p 8080:8080 \&lt;BR /&gt;-e NIFI_WEB_HTTP_PORT=8080 \&lt;BR /&gt;-e NIFI_WEB_HTTP_HOST=0.0.0.0 \&lt;BR /&gt;-e NIFI_WEB_HTTPS_PORT= \&lt;BR /&gt;-e NIFI_WEB_HTTPS_HOST= \ &lt;BR /&gt;-e NIFI_WEB_PROXY_HOST=localhost:8080 \&lt;BR /&gt;-e NIFI_CLUSTER_IS_NODE=false \&lt;BR /&gt;-e SINGLE_USER_CREDENTIALS_USERNAME=nifi \&lt;BR /&gt;-e SINGLE_USER_CREDENTIALS_PASSWORD=nifipassword \&lt;BR /&gt;-e NIFI_SECURITY_KEYSTORE= \&lt;BR /&gt;-e NIFI_SECURITY_KEYSTOREPASSWD= \&lt;BR /&gt;-e NIFI_SECURITY_KEYPASSWD= \&lt;BR /&gt;-e NIFI_SECURITY_TRUSTSTORE= \&lt;BR /&gt;-e NIFI_SECURITY_TRUSTSTOREPASSWD= apache/nifi:2.0&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;HTTPS still enabled.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 09:35:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399264#M250461</guid>
      <dc:creator>gavingilmour</dc:creator>
      <dc:date>2024-12-23T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399284#M250466</link>
      <description>&lt;P&gt;I've found that you have to modify the start.sh script itself rather than relying on passed environment variables. By default it will apply the host name of the container to the https host unless you prevent it from doing so in the start.sh script. Which then takes precedent over any http configuration you've done.&amp;nbsp; I'd also try messing with `nifi.remote.input.secure` I'm uncertain if that is also required to be set to false&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 15:33:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399284#M250466</guid>
      <dc:creator>anon12345</dc:creator>
      <dc:date>2024-12-23T15:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399387#M250483</link>
      <description>&lt;P&gt;Thanks for getting back!&lt;BR /&gt;&lt;BR /&gt;Sounds about right then, I'm guessing running http only is unsupported in that case.&lt;/P&gt;&lt;P&gt;Patching start.sh locally is a bit of a non starter here.. bit frustrating unless any of the nifi folks can weigh in&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;to confirm https is the only way?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 09:21:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399387#M250483</guid>
      <dc:creator>gavingilmour</dc:creator>
      <dc:date>2024-12-27T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399403#M250485</link>
      <description>&lt;P&gt;If you're using the docker image it's just a matter of voluming in your customized version of the start.sh or copying it in at image build time. But I can understand not wanting to do that. It should be completely configurable with env variables. It seems like that's how it worked in nifi 1.X&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 18:27:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/399403#M250485</guid>
      <dc:creator>anon12345</dc:creator>
      <dc:date>2024-12-27T18:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/400862#M250976</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/115127"&gt;@anon12345&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Where you able to disable HTTPS secure connection , without the need for modifying docker image ...?&lt;BR /&gt;&lt;BR /&gt;If you were able to do , please do brief on the steps ..&lt;BR /&gt;Facing the same issue on M4 Version of Nifi .&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 15:03:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/400862#M250976</guid>
      <dc:creator>Tiger_Name</dc:creator>
      <dc:date>2025-01-22T15:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/400863#M250977</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/115127"&gt;@anon12345&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, you need to unset the keystore and truststore properties because NiFi will still attempt to load them even if HTTPS properties are unset.&amp;nbsp; This is by design because NiFi can act as a client and as a client it may attempt to connect to secured endpoints where NiFi would use this keystore and trustore. So ay property configured in nifi.properties will be loaded, so they need to be unset or have valid values set.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;NiFi's Site-To-Site capability.&amp;nbsp; A unsecure NiFi configured with a valid keystore and truststore can have a Remote Process Group configured to connect to a Remote port on another secured NiFi.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 16:42:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/400863#M250977</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-01-22T16:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.0 Dockerized running insecure on HTTP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/401231#M251093</link>
      <description>&lt;P&gt;Based on the initial input in the question, slightly adapted&lt;BR /&gt;the following seems to work for me (1.27.0)&lt;BR /&gt;&lt;BR /&gt;docker run --rm --name nifi -p 8080:8080 \&lt;BR /&gt;-e NIFI_WEB_HTTP_PORT=8080 \&lt;BR /&gt;-e NIFI_WEB_HTTPS_PORT= \&lt;BR /&gt;-e NIFI_WEB_HTTPS_HOST= \&lt;BR /&gt;-e NIFI_SECURITY_KEYSTORE= \&lt;BR /&gt;-e NIFI_SECURITY_KEYSTOREPASSWD= \&lt;BR /&gt;-e NIFI_SECURITY_KEYPASSWD= \&lt;BR /&gt;-e NIFI_SECURITY_TRUSTSTORE= \&lt;BR /&gt;-e NIFI_SECURITY_TRUSTSTOREPASSWD= \&lt;BR /&gt;apache/nifi:1.27.0&lt;BR /&gt;&lt;BR /&gt;---&lt;/P&gt;&lt;P&gt;--- from container&lt;/P&gt;&lt;P&gt;nifi@xxxxxxxxxxxx:/opt/nifi/nifi-toolkit-current/bin$ ./cli.sh&lt;BR /&gt;_ ___ _&lt;BR /&gt;Apache (_) .' ..](_) ,&lt;BR /&gt;_ .--. __ _| |_ __ )\&lt;BR /&gt;[ `.-. | [ |'-| |-'[ | / \&lt;BR /&gt;| | | | | | | | | | ' '&lt;BR /&gt;[___||__][___][___] [___]', ,'&lt;BR /&gt;`'&lt;BR /&gt;CLI v1.27.0&lt;/P&gt;&lt;P&gt;Type 'help' to see a list of available commands, use tab to auto-complete.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Session loaded from /home/nifi/.nifi-cli.config&lt;/P&gt;&lt;P&gt;#&amp;gt; nifi get-root-id&lt;/P&gt;&lt;P&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 12:42:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-0-Dockerized-running-insecure-on-HTTP/m-p/401231#M251093</guid>
      <dc:creator>Alf015</dc:creator>
      <dc:date>2025-01-31T12:42:25Z</dc:date>
    </item>
  </channel>
</rss>

