<?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: How to create custom error page for apache nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383775#M245057</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108897"&gt;@sukanta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What version of NiFi are you using?&lt;/P&gt;&lt;P&gt;Where are are you specifically seeing this exception shown (screenshot would be helpful)?&lt;BR /&gt;&lt;BR /&gt;The exception is related to the URL you are trying to use to access this NiFi.&amp;nbsp; You are using an IP address that is not present as a SAN entry in the NiFi's keystore PrivateKey entry.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 16:53:11 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-02-22T16:53:11Z</dc:date>
    <item>
      <title>How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/382658#M244650</link>
      <description>&lt;P&gt;It was observed that our application generates an error message that includes sensitive information about its environment, files, or associated data such as internal system path.&lt;/P&gt;&lt;P&gt;is there a way to put a custome error page in nifi&lt;BR /&gt;Banner Disclosure&lt;BR /&gt;it was observed that the application is disclosing information about internal components details through response.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:25:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/382658#M244650</guid>
      <dc:creator>sukanta</dc:creator>
      <dc:date>2024-01-24T10:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/382670#M244654</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108897"&gt;@sukanta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am not completely clear on what you are asking for here.&amp;nbsp; Can you provide more detail?&lt;BR /&gt;&lt;BR /&gt;What do you mean by "custom error page in NiFi"?&lt;BR /&gt;Are you referring to the NiFi bulletin Board?&lt;BR /&gt;&lt;BR /&gt;Only users who are authorized for the component producing the bulletin message woudl be able to view the bulletin text via the component or bulletin board.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 14:56:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/382670#M244654</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-24T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383743#M245038</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;Thanks for your reply , Here is what we wanted to achieve&lt;/P&gt;&lt;P&gt;for one nifi ui we are getting this error&lt;BR /&gt;&lt;BR /&gt;System Error&lt;BR /&gt;The request contained an invalid host header [10.112.17.35:8443] in the request [/]. Check for request manipulation or third-party intercept.&lt;BR /&gt;Valid host headers are [empty] or:&lt;BR /&gt;127.0.0.1&lt;BR /&gt;127.0.0.1:8443&lt;BR /&gt;localhost&lt;BR /&gt;localhost:8443&lt;BR /&gt;[::1]&lt;BR /&gt;[::1]:8443&lt;BR /&gt;ic-alpha.nifi.tathya.in&lt;BR /&gt;ic-alpha.nifi.tathya.in:8443&lt;BR /&gt;0.0.0.0&lt;BR /&gt;0.0.0.0:8443&lt;BR /&gt;&lt;BR /&gt;if you see the above error nifi is showing some information about the server&lt;BR /&gt;like ip of the server , port of the nifi etc&lt;BR /&gt;so we do not wanted to show all of these internal information&lt;BR /&gt;is there a way to change this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;BR /&gt;Sukanta&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 06:54:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383743#M245038</guid>
      <dc:creator>sukanta</dc:creator>
      <dc:date>2024-02-22T06:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383775#M245057</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108897"&gt;@sukanta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What version of NiFi are you using?&lt;/P&gt;&lt;P&gt;Where are are you specifically seeing this exception shown (screenshot would be helpful)?&lt;BR /&gt;&lt;BR /&gt;The exception is related to the URL you are trying to use to access this NiFi.&amp;nbsp; You are using an IP address that is not present as a SAN entry in the NiFi's keystore PrivateKey entry.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 16:53:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383775#M245057</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-02-22T16:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383802#M245075</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;We are using nifi&amp;nbsp;&lt;SPAN&gt;1.15.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes you are right we are hitting nifi ip address&amp;nbsp; with the private ip address then only we are seeing this error, where its showing all server information , is there a way to bypass it&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:14:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383802#M245075</guid>
      <dc:creator>sukanta</dc:creator>
      <dc:date>2024-02-23T09:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383900#M245120</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108897"&gt;@sukanta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This output is normal and expected.&amp;nbsp; The SubjectAlternativeName (SAN) details are available through the public key exchanged in the TLS exchange.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The TLS spec verifies the hostname against the SAN in the serverAuth certificate to protect the client from man in the middle type attacks.&amp;nbsp; This information is returned to the client so that you are aware they you tried to access server XYZ, but server identified by these un-matching SANs responded.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is nothing that can be changed on server side (NiFi) to change this behavior.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a side note: You can use openssl to any HTTPS enabled server and get that server's serverAuth public certificate.&amp;nbsp; You can then also use openssl to view the contents of that public cert which will include the SAN info.&amp;nbsp; So I am really not seeing any "sensitive" information in what you have shared.&amp;nbsp; &amp;nbsp;If you concern is about IP addresses... Stop using them and use DNS resolvable hostnames in your SAN.&amp;nbsp; Have a private and public resolvable hostnames in the SAN.&lt;BR /&gt;&lt;BR /&gt;If the ask here is not about hiding this public info, but rather allowing the client to continue to connect ignoring the possible man-in-the-middle attack, that is a different question.&amp;nbsp; It would be a question to ask your client provider (assuming your browser in this case?).&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, 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 one or more 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>Mon, 26 Feb 2024 16:08:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/383900#M245120</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-02-26T16:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384735#M245466</link>
      <description>&lt;P&gt;Hello Matt,&lt;/P&gt;&lt;P&gt;Thank you for your prompt response and help,&lt;BR /&gt;I have one more question related to this&amp;nbsp;&lt;BR /&gt;One of our client is using apache nifi and they are running some security tool , where they hit the nifi server , and its showing the Jetty version&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So is there any way we can hide the jetty version (Banner Disclosure)&lt;BR /&gt;for your reference I have attached one screen shot for banner disclosure&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-07 at 5.04.38 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40007i21D8DD8652286532/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-03-07 at 5.04.38 PM.png" alt="Screenshot 2024-03-07 at 5.04.38 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 11:35:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384735#M245466</guid>
      <dc:creator>sukanta</dc:creator>
      <dc:date>2024-03-07T11:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384736#M245467</link>
      <description>&lt;P&gt;Waiting for your early reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 11:36:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384736#M245467</guid>
      <dc:creator>sukanta</dc:creator>
      <dc:date>2024-03-07T11:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384742#M245470</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/108897"&gt;@sukanta&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This depends on what version of Apache NiFi is being used.&lt;BR /&gt;In Apache NiFi 1.12 or newer, there exists the following property in the nifi.properties file for excluding the server version in HTTP responses:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.web.should.send.server.version=&amp;lt;true or false&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default is true when not configured.&lt;BR /&gt;This capability was added as part of&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-7321" target="_blank" rel="noopener"&gt;https://issues.apache.org/jira/browse/NIFI-7321&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is best to ask unrelated question in different community questions. Asking multiple question makes it hard for other in the community to understand what question was addressed by the "accepted" solution.&lt;/P&gt;&lt;P&gt;Keep in mind that Apache NiFi is an open source product, so anyone can look at the source code to see what Jetty version(s) are being used.&lt;/P&gt;&lt;P&gt;If you found &lt;EM&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;/EM&gt; of the suggestions/solutions provided helped you with your issue, 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 one or more 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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 16:28:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384742#M245470</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-03-07T16:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create custom error page for apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384877#M245535</link>
      <description>&lt;P&gt;Thank you Matt for all your help , really appreciate this&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try this and let you know&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 07:47:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-create-custom-error-page-for-apache-nifi/m-p/384877#M245535</guid>
      <dc:creator>sukanta</dc:creator>
      <dc:date>2024-03-12T07:47:23Z</dc:date>
    </item>
  </channel>
</rss>

