<?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 extend the Self-Signed Certificate validity in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/385868#M245860</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hi All community/Support,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would like to ask how to extend this self-signed certificate validity to 6 months. As per default was 60 days. May i know which section of the code that setting this 60 days validity during start-up?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-04-02 07:32:08,803 INFO [main] org.apache.nifi.bootstrap.Command Generating Self-Signed Certificate: Expires on 2024-06-01
2024-04-02 07:32:11,796 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate SHA-256: 4XXXXXXXXXXXXXXXXXXXXXXX&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EddyChan_0-1712047841509.png" style="width: 570px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40225i6994BBAAFA2AA3CB/image-dimensions/570x97?v=v2" width="570" height="97" role="button" title="EddyChan_0-1712047841509.png" alt="EddyChan_0-1712047841509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Appreciate if someone could help point out.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 08:58:28 GMT</pubDate>
    <dc:creator>EddyChan</dc:creator>
    <dc:date>2024-04-02T08:58:28Z</dc:date>
    <item>
      <title>How to extend the Self-Signed Certificate validity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/385868#M245860</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi All community/Support,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would like to ask how to extend this self-signed certificate validity to 6 months. As per default was 60 days. May i know which section of the code that setting this 60 days validity during start-up?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-04-02 07:32:08,803 INFO [main] org.apache.nifi.bootstrap.Command Generating Self-Signed Certificate: Expires on 2024-06-01
2024-04-02 07:32:11,796 INFO [main] org.apache.nifi.bootstrap.Command Generated Self-Signed Certificate SHA-256: 4XXXXXXXXXXXXXXXXXXXXXXX&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EddyChan_0-1712047841509.png" style="width: 570px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40225i6994BBAAFA2AA3CB/image-dimensions/570x97?v=v2" width="570" height="97" role="button" title="EddyChan_0-1712047841509.png" alt="EddyChan_0-1712047841509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Appreciate if someone could help point out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 08:58:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/385868#M245860</guid>
      <dc:creator>EddyChan</dc:creator>
      <dc:date>2024-04-02T08:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend the Self-Signed Certificate validity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/385884#M245863</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105353"&gt;@EddyChan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The out-of-box Apache NiFi self-signed certificate generation was added to make it easy for first time users to experiment with a secure NiFi instance.&amp;nbsp; Just like the Single user authentication and and single user authorizer, these were not intended to be used for long term or production use cases.&amp;nbsp; There is no configuration option to extend the lifetime.&lt;BR /&gt;&lt;BR /&gt;For long term use or production setups, you should be generating your own signed certificates for use in your NiFi (preferable signed by a trusted authority rather then being self-signed).&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You could use the NiFi TLS toolkit still available in the Apache NiFi 1.x releases to generate your own certificates for keystore&amp;nbsp; and truststore.&lt;BR /&gt;You could generate your own following guidelines for NiFi certificates:&lt;BR /&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#security_configuration" target="_blank"&gt;Security Configuration&lt;/A&gt;&lt;BR /&gt;You could use a free online service to generate certificates.&lt;BR /&gt;&lt;BR /&gt;&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;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:16:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/385884#M245863</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-04-02T13:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend the Self-Signed Certificate validity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/386316#M245996</link>
      <description>&lt;P&gt;Hi Matt, thanks for the suggestion to use TLS Toolkit, but is there any way to disable/prevent the nifi run the self-signed certificate during startup?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 02:16:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/386316#M245996</guid>
      <dc:creator>EddyChan</dc:creator>
      <dc:date>2024-04-09T02:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend the Self-Signed Certificate validity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/386317#M245997</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Matt, thanks for the suggestion to use TLS Toolkit, but is there any way to disable/prevent the nifi run the self-signed certificate during startup?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 02:17:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/386317#M245997</guid>
      <dc:creator>EddyChan</dc:creator>
      <dc:date>2024-04-09T02:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend the Self-Signed Certificate validity</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/386563#M246075</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105353"&gt;@EddyChan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;NiFi should only be generating a keystore and truststore on startup if you have not manually configured NiFi's nifi.properties file to use your personally generated keystore and truststore files. Even if they are generated, NiFi would still use your configured keystore and truststore files.&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>Mon, 15 Apr 2024 12:31:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-extend-the-Self-Signed-Certificate-validity/m-p/386563#M246075</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-04-15T12:31:21Z</dc:date>
    </item>
  </channel>
</rss>

