<?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 How to refresh webpage certificate for Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406835#M252569</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I need help to renew validity of web certificate for Nifi.&lt;/P&gt;&lt;P&gt;It is for local host and Nifi2.0.0-M4&lt;/P&gt;&lt;P&gt;Please refer below screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shrink_0-1745373231777.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45142iD1BA275E66EFAD76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shrink_0-1745373231777.png" alt="Shrink_0-1745373231777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Gaurav Mahajan&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 01:54:27 GMT</pubDate>
    <dc:creator>Shrink</dc:creator>
    <dc:date>2025-04-23T01:54:27Z</dc:date>
    <item>
      <title>How to refresh webpage certificate for Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406835#M252569</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I need help to renew validity of web certificate for Nifi.&lt;/P&gt;&lt;P&gt;It is for local host and Nifi2.0.0-M4&lt;/P&gt;&lt;P&gt;Please refer below screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shrink_0-1745373231777.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45142iD1BA275E66EFAD76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shrink_0-1745373231777.png" alt="Shrink_0-1745373231777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Gaurav Mahajan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 01:54:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406835#M252569</guid>
      <dc:creator>Shrink</dc:creator>
      <dc:date>2025-04-23T01:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh webpage certificate for Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406861#M252574</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/124346"&gt;@Shrink&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Once your certificate has expired, you'll need to generate a new certificate.&lt;BR /&gt;Form your image, it appears you are using the NiFi auto-generated out-of-the-box self signed certificate?&lt;BR /&gt;&lt;BR /&gt;There are multiple options:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;(Recommended) The auto-generated certificate is intended to be used for product evaluation.&amp;nbsp; &amp;nbsp;For extended use and specially for production use, you should be using certificates signed by an internal company Certificate Authority (CA) or an external CA.&lt;/LI&gt;&lt;LI&gt;You can manually create new self signed keystore and truststore as well.&lt;BR /&gt;&lt;A href="https://nifi.apache.org/nifi-docs/walkthroughs.html#manual-keystore" target="_blank" rel="noopener"&gt;https://nifi.apache.org/nifi-docs/walkthroughs.html#manual-keystore&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To make life easier, I'd use the existing keystore.p12 and trustore.p12 filename instead of the nifi1.p12 and trust.p12 used in above documentation.&amp;nbsp; I would also use the same password used already for the expired keystore.p12 and truststore.p12 files set in your nifi.properties file.&amp;nbsp; That way if you are using these keystore and truststoe file in any NiFi dataflow controller services, you will not need to edit them.&lt;/LI&gt;&lt;LI&gt;You could delete or rename the existing expired keystore.p12 and truststore.p12 files.&amp;nbsp; Then edit the nifi.properies file to clear the keystore and truststore password values:&lt;/LI&gt;&lt;/OL&gt;&lt;LI-CODE lang="markup"&gt;nifi.security.keystorePasswd=
nifi.security.keyPasswd=
nifi.security.truststorePasswd=​&lt;/LI-CODE&gt;&lt;P&gt;With the passwords cleared and the keystore.p12 file and truststore.p12 files removed/renamed, NiFi will generate a new keystore.p12 and truststore.p12 using new randomly generated passwords.&amp;nbsp; Down side here is if you use the keystore and truststore anywher in your dataflow, you'll need to update the password. Or you can use the javak keytool command to change the passwords to the password used previously.&amp;nbsp; If you do this, you'll need to restart NiFi afterwards for NiFi to start using the new passwords you update in the nifi.properties file.&lt;/P&gt;&lt;P&gt;Please help our community grow. 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, 23 Apr 2025 14:02:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406861#M252574</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-04-23T14:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh webpage certificate for Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406927#M252587</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;&lt;BR /&gt;I try third option first but it was not working at my side. Nifi shuts down saying no keystore file found.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;but second option works well for me.&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;I have also found below article where it explain how to change certificate&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.linkedin.com/pulse/configuring-ssltls-authentication-apache-nifi-dhruv-sahu/" target="_blank"&gt;https://www.linkedin.com/pulse/configuring-ssltls-authentication-apache-nifi-dhruv-sahu/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=9F6DnsD8TSo" target="_blank"&gt;https://www.youtube.com/watch?v=9F6DnsD8TSo&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 02:42:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-refresh-webpage-certificate-for-Nifi/m-p/406927#M252587</guid>
      <dc:creator>Shrink</dc:creator>
      <dc:date>2025-04-25T02:42:54Z</dc:date>
    </item>
  </channel>
</rss>

