<?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: Setting up Nifi Registry with Nginx in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383222#M244855</link>
    <description>&lt;P&gt;Apologies for the delay, I am currently using the helm chart:&amp;nbsp;&lt;A href="https://github.com/dysnix/charts/tree/main/dysnix/nifi-registry" target="_blank"&gt;https://github.com/dysnix/charts/tree/main/dysnix/nifi-registry&lt;/A&gt;&amp;nbsp;so I posted the values files that are generated from it.&lt;/P&gt;&lt;P&gt;If you need the actual kubernetes yaml, I can post that too, but I figured giving you the helm chart and values would do the same thing with less files&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 14:47:50 GMT</pubDate>
    <dc:creator>Bryson</dc:creator>
    <dc:date>2024-02-06T14:47:50Z</dc:date>
    <item>
      <title>Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382568#M244625</link>
      <description>&lt;P&gt;We are working on deploying the NiFi Registry platform on kubernetes, however, we are hitting some issues. I've added a diagram of our deployment to help give some context as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test Case 1: When proxying NiFi registry&amp;nbsp;&lt;STRONG&gt;with settings as unsecure&lt;/STRONG&gt;, the proxying works fine. We are able to connect to&amp;nbsp;&lt;A href="https://nifi-registry.company.domain.com" target="_blank"&gt;https://nifi-registry.company.domain.com&lt;/A&gt;&amp;nbsp;and view the registry as needed. Note the HTTPS in the URL still - we are using SSL offloading in our nginx's.&lt;/P&gt;&lt;P&gt;Test Case 2: When proxying NiFi registry&amp;nbsp;&lt;STRONG&gt;with settings as secure&lt;/STRONG&gt;, we get&amp;nbsp;&lt;SPAN&gt;ERR_TOO_MANY_REDIRECTS. I have attached our nifi-registry.properties file as well. One thing that we found interesting, was that when we tried the below curl request&amp;nbsp;&lt;STRONG&gt;from within the pod&lt;/STRONG&gt; we get back a normal response&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;curl -k --cacert /opt/nifi-registry/nifi-registry-current/tls/cert-manager/ca.crt --key /opt/nifi-registry/nifi-registry-current/tls/cert-manager/tls.key --cert /opt/nifi-registry/nifi-registry-current/tls/cert-manager/tls.crt https://localhost:18443/nifi-registry -vvvvvv -sS -D -  &lt;/LI-CODE&gt;&lt;P&gt;The certs are valid as they are generated by cert manager. We are looking for any assistance that you can give, but some of our main questions are as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In our&amp;nbsp;&lt;STRONG&gt;kubernetes ingress&lt;/STRONG&gt; details, should we set the path to just `/` or `/nifi-registry`?&lt;/LI&gt;&lt;LI&gt;Is it possible that the NiFi registry is redirecting the client from the HTTPS endpoint a normal HTTP endpoint? We see in the browser network tab that it seems to flip back and forth.&lt;/LI&gt;&lt;LI&gt;Is it 100% required to have the authorizers.xml completed in order to get this working?&lt;/LI&gt;&lt;LI&gt;Any other ideas of what could be causing this?&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;IMG src="http://community.cloudera.com/t5/image/serverpage/image-id/39888iF06993847647AF4D/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Deployment Diagram.png" title="Deployment Diagram.png" /&gt;</description>
      <pubDate>Mon, 22 Jan 2024 17:39:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382568#M244625</guid>
      <dc:creator>Bryson</dc:creator>
      <dc:date>2024-01-22T17:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382569#M244626</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108865"&gt;@Bryson&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 Registry experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60285"&gt;@ashinde&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/61221"&gt;@dyadav1&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, 22 Jan 2024 18:55:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382569#M244626</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-01-22T18:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382753#M244682</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93628"&gt;@DianaTorres&lt;/a&gt;&amp;nbsp; /&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60285"&gt;@ashinde&lt;/a&gt;&amp;nbsp; /&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/61221"&gt;@dyadav1&lt;/a&gt;&amp;nbsp; - do you have any tips for this? we're still kind of stuck on this issue&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:09:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382753#M244682</guid>
      <dc:creator>Bryson</dc:creator>
      <dc:date>2024-01-26T13:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382761#M244687</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31975"&gt;@bbahamondes&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86141"&gt;@haridjh&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/33232"&gt;@ArtiW&lt;/a&gt;&amp;nbsp;Do you have any insights here? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 17:21:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382761#M244687</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-01-26T17:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382919#M244746</link>
      <description>&lt;P&gt;I can answer your first question, the path at the ingress needs to be "/".&lt;/P&gt;&lt;P&gt;If you share more information about your setup (like the yaml files used for deploying), I might be able to help you more.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 10:53:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/382919#M244746</guid>
      <dc:creator>Mosby</dc:creator>
      <dc:date>2024-01-31T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383179#M244847</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108865"&gt;@Bryson&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @Mosby has requested? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 22:35:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383179#M244847</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-02-05T22:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383222#M244855</link>
      <description>&lt;P&gt;Apologies for the delay, I am currently using the helm chart:&amp;nbsp;&lt;A href="https://github.com/dysnix/charts/tree/main/dysnix/nifi-registry" target="_blank"&gt;https://github.com/dysnix/charts/tree/main/dysnix/nifi-registry&lt;/A&gt;&amp;nbsp;so I posted the values files that are generated from it.&lt;/P&gt;&lt;P&gt;If you need the actual kubernetes yaml, I can post that too, but I figured giving you the helm chart and values would do the same thing with less files&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:47:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383222#M244855</guid>
      <dc:creator>Bryson</dc:creator>
      <dc:date>2024-02-06T14:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383317#M244874</link>
      <description>&lt;P&gt;To use the certificates stored in the NiFi-Registry you would need to set the ingress to SSL-Passthrough, which means removing the annotiation "nginx.ingress.kubernetes.io/backend-protocol: HTTPS" and replacing it with "&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nginx.ingress.kubernetes.io/ssl-passthrough&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Also this feature needs to be enabled at the ingress-controller&amp;nbsp;&lt;A href="https://kubernetes.github.io/ingress-nginx/user-guide/tls/#ssl-passthrough" target="_blank"&gt;TLS/HTTPS - Ingress-Nginx Controller (kubernetes.github.io)&lt;/A&gt;&amp;nbsp;for it to work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;- at least, thats what yorked for our setup, YMMV&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Feb 2024 07:45:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383317#M244874</guid>
      <dc:creator>Mosby</dc:creator>
      <dc:date>2024-02-08T07:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383367#M244880</link>
      <description>&lt;P&gt;Okay, so I just tried this and it didnt work sadly... I still get&amp;nbsp;&lt;SPAN&gt;ERR_TOO_MANY_REDIRECTS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 02:19:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/383367#M244880</guid>
      <dc:creator>Bryson</dc:creator>
      <dc:date>2024-02-09T02:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up Nifi Registry with Nginx</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/385541#M245735</link>
      <description>&lt;P&gt;Are you still in the need of help? Somehow i did not get a notification&lt;/P&gt;&lt;P&gt;This is our config, maybe it helps:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nifi-ingress
  namespace: nifi
  labels:
    app: nifi
  annotations:
    nginx.ingress.kubernetes.io/ssl-passthrough: "true"
spec:
  ingressClassName: nginx
  rules:
  - host: &amp;lt;url&amp;gt;
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: nifi-service
            port:
              number: 8443
  tls:
  - hosts:
    - &amp;lt;url&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 07:39:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Setting-up-Nifi-Registry-with-Nginx/m-p/385541#M245735</guid>
      <dc:creator>Mosby</dc:creator>
      <dc:date>2024-03-26T07:39:03Z</dc:date>
    </item>
  </channel>
</rss>

