<?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 1.12.1 in Kubernetes with existing certificate and OpenID activated doesn't work in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/322020#M228642</link>
    <description>&lt;P&gt;I would always recommend you to use the Cloudera distribution, as people like me are not able to troubleshoot the upstream distributions, and we do note that. it is common that people run into trouble when using upstream versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure about the exact time, but if you are interested in Nifi on K8s, then rather than trying to solve all challenges personally you may also want to look into how the Cloudera Data Platform attacks this challenge for everyone.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2021 21:04:46 GMT</pubDate>
    <dc:creator>DennisJaheruddi</dc:creator>
    <dc:date>2021-08-03T21:04:46Z</dc:date>
    <item>
      <title>Apache Nifi 1.12.1 in Kubernetes with existing certificate and OpenID activated doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321327#M228348</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;I have been some issues to configuring Apache Nifi using an existing certificate.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;My use case is:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;I'm generating the truststore and the keystore from an existing tls.pem and tls.key that my ingress is using, from this I set the referent configurations of TLS and OpenId (I have created a custom image based on the official Nifi's image). &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Everything its working, although when I try to access the UI and the redirects to the openId occurs the Nifi throw an exception, these are the last logs shown in the nifi-user.log:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT face="verdana,geneva,sans-serif" size="3"&gt;2021-07-22 09:58:05,814 INFO [NiFi Web Server-25] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (CN=MY-HOST) GET https://MY-HOST/nifi-api/flow/current-u&lt;BR /&gt;ser (source ip: xx.xxx.xxx.xxx)&lt;BR /&gt;2021-07-22 09:58:05,815 INFO [NiFi Web Server-25] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for CN=MY-HOST&lt;BR /&gt;2021-07-22 09:58:05,818 INFO [NiFi Web Server-25] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[CN=MY-HOST], groups[] does not have permission to access the requested resource. Unknown user with id&lt;BR /&gt;entity 'CN=MY-HOST'. Returning Forbidden response.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="verdana,geneva,sans-serif" size="4"&gt;Although according the documentation to this documentation:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;&lt;FONT face="verdana,geneva,sans-serif"&gt;NiFi’s web server will REQUIRE certificate based client authentication for users accessing the User Interface when not configured with an alternative authentication mechanism which would require one way SSL (for instance LDAP, OpenId Connect, etc). Enabling an alternative authentication mechanism will configure the web server to WANT certificate base client authentication. This will allow it to support users with certificates and those without that may be logging in with credentials. See&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#user_authentication" target="_blank" rel="noopener"&gt;User Authentication&lt;/A&gt;&amp;nbsp;for more details.&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="4"&gt;This should not happens, someone have just passed for this before? What am I missing?&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&lt;!--     EndFragment      --&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 11:03:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321327#M228348</guid>
      <dc:creator>GuiCaixeta</dc:creator>
      <dc:date>2021-07-22T11:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 1.12.1 in Kubernetes with existing certificate and OpenID activated doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321342#M228358</link>
      <description>&lt;P&gt;Are you using the version published by Cloudera? Please confirm exactly which platform version and whether this is the on premise variant or in public cloud.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 14:19:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321342#M228358</guid>
      <dc:creator>DennisJaheruddi</dc:creator>
      <dc:date>2021-07-22T14:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 1.12.1 in Kubernetes with existing certificate and OpenID activated doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321354#M228369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31428"&gt;@DennisJaheruddi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About the image, I'm using this one&amp;nbsp;&lt;A href="https://hub.docker.com/r/apache/nifi" target="_self"&gt;Apache-Nifi.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Nifi version used is 1.12.1&lt;/P&gt;&lt;P&gt;Is a public cloud: AWS/EKS&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 15:23:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321354#M228369</guid>
      <dc:creator>GuiCaixeta</dc:creator>
      <dc:date>2021-07-22T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 1.12.1 in Kubernetes with existing certificate and OpenID activated doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321551#M228440</link>
      <description>&lt;P&gt;After a lot of headaches and some tries, I finally discover the issue, due the fact that I have a nginx as my ingress some headers are added during each request, and due the headers "x-forward-.*" the request always return an error. Although this is not an acceptable an answer, I need a clear understanding about that before to close this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 08:43:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/321551#M228440</guid>
      <dc:creator>GuiCaixeta</dc:creator>
      <dc:date>2021-07-26T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 1.12.1 in Kubernetes with existing certificate and OpenID activated doesn't work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/322020#M228642</link>
      <description>&lt;P&gt;I would always recommend you to use the Cloudera distribution, as people like me are not able to troubleshoot the upstream distributions, and we do note that. it is common that people run into trouble when using upstream versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure about the exact time, but if you are interested in Nifi on K8s, then rather than trying to solve all challenges personally you may also want to look into how the Cloudera Data Platform attacks this challenge for everyone.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 21:04:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-1-12-1-in-Kubernetes-with-existing-certificate/m-p/322020#M228642</guid>
      <dc:creator>DennisJaheruddi</dc:creator>
      <dc:date>2021-08-03T21:04:46Z</dc:date>
    </item>
  </channel>
</rss>

