<?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 will I set up Secure NIFI cluster that using my real Cert that I bought instead of self generate. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151865#M44631</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/63693/how-will-i-set-up-secure-nifi-cluster-that-using-m.html#"&gt;@Andy LoPresto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have post the new question at the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/63901/cant-login-with-the-admin-user-that-configure-in-i.html#answer-63902" target="_blank"&gt;https://community.hortonworks.com/questions/63901/cant-login-with-the-admin-user-that-configure-in-i.html#answer-63902&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 04:58:23 GMT</pubDate>
    <dc:creator>marknguyen</dc:creator>
    <dc:date>2016-10-28T04:58:23Z</dc:date>
    <item>
      <title>How will I set up Secure NIFI cluster that using my real Cert that I bought instead of self generate.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151861#M44627</link>
      <description>&lt;P&gt;I am following the below procedure but I don't see how I can apply the Cert that I bought.  &lt;/P&gt;&lt;P&gt; &lt;A href="http://bryanbende.com/development/2016/08/17/apache-nifi-1-0-0-authorization-and-multi-tenancy" target="_blank"&gt;http://bryanbende.com/development/2016/08/17/apache-nifi-1-0-0-authorization-and-multi-tenancy&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 06:09:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151861#M44627</guid>
      <dc:creator>marknguyen</dc:creator>
      <dc:date>2016-10-27T06:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How will I set up Secure NIFI cluster that using my real Cert that I bought instead of self generate.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151862#M44628</link>
      <description>&lt;P&gt;
	Mark,&lt;/P&gt;&lt;P&gt;
	The certificate you purchased from a certificate authority will identify the NiFi application. Depending on the format it is in (likely a &lt;CODE&gt;*.key&lt;/CODE&gt; file containing the private key which never left your computer and a &lt;CODE&gt;*.pem&lt;/CODE&gt; or &lt;CODE&gt;*.der&lt;/CODE&gt; file containing the corresponding public key, which was then signed via a &lt;EM&gt;CSR&lt;/EM&gt; (Certificate Signing Request) sent to the CA), you will need to build the following files:&lt;/P&gt;&lt;UL&gt;
	
&lt;LI&gt;Keystore

	
&lt;UL&gt;
		
&lt;LI&gt;This will contain the private key and public key certificate with the issuing CA's public certificate in a chain (as a &lt;EM&gt;privateKeyEntry&lt;/EM&gt;) [see example output below]&lt;/LI&gt;	&lt;/UL&gt;&lt;/LI&gt;	
&lt;LI&gt;Truststore
	
&lt;UL&gt;
		
&lt;LI&gt;This will contain the public key of your client certificate (if using one) in order to authenticate you as a user connecting to the UI/API. &lt;/LI&gt;	&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;
	Alternate example using &lt;CODE&gt;keytool&lt;/CODE&gt;:&lt;/P&gt;&lt;OL&gt;
	
&lt;LI&gt;You generate a public/private keypair using the Java &lt;CODE&gt;keytool&lt;/CODE&gt;:&lt;P&gt;
	&lt;CODE&gt;$ keytool -genkey -alias nifi -keyalg RSA -keysize 2048 -keystore keystore.jks&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;	
&lt;LI&gt;You then export a certificate signing request which you send to the certificate authority:&lt;P&gt;
	&lt;CODE&gt;$ keytool -certreq -alias nifi -keyalg RSA -file nifi.csr -keystore keystore.jks&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;	
&lt;LI&gt;You will get a CSR file &lt;CODE&gt;nifi.csr&lt;/CODE&gt; which you send to the CA, and they provide a signed public certificate (and the public certificate of the CA) back &lt;CODE&gt;cert_from_ca.pem&lt;/CODE&gt;:&lt;P&gt;
	&lt;CODE&gt;$ keytool -import -trustcacerts -alias nifi -file cert_from_ca.pem -keystore keystore.jks&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here is a &lt;A target="_blank" href="https://gist.github.com/alopresto/dba86193a0933c8b836acb955a2b55ef"&gt;link to the full steps I ran&lt;/A&gt; (I ran my own CA in another terminal to simulate the actions of the external CA) and the resulting output.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 07:22:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151862#M44628</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-10-27T07:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How will I set up Secure NIFI cluster that using my real Cert that I bought instead of self generate.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151863#M44629</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/63693/how-will-i-set-up-secure-nifi-cluster-that-using-m.html#"&gt;@Andy LoPresto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Andy,  Thank you so much for your help.  I understanding much better about the Certificates and when you to use TLS Generation Toolkit and what to your for prod environment.  I am running into user permission issue.   Shall I ask on the same thread or shall I create new question?  Thanks for the help Andy!&lt;/P&gt;&lt;H3&gt;&lt;/H3&gt;</description>
      <pubDate>Thu, 27 Oct 2016 22:36:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151863#M44629</guid>
      <dc:creator>marknguyen</dc:creator>
      <dc:date>2016-10-27T22:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How will I set up Secure NIFI cluster that using my real Cert that I bought instead of self generate.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151864#M44630</link>
      <description>&lt;P&gt;Mark, I'm glad the answer helped you. You should open a new question for the user permission issue and I will take a look. &lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 00:12:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151864#M44630</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-10-28T00:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: How will I set up Secure NIFI cluster that using my real Cert that I bought instead of self generate.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151865#M44631</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/63693/how-will-i-set-up-secure-nifi-cluster-that-using-m.html#"&gt;@Andy LoPresto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have post the new question at the link below.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/63901/cant-login-with-the-admin-user-that-configure-in-i.html#answer-63902" target="_blank"&gt;https://community.hortonworks.com/questions/63901/cant-login-with-the-admin-user-that-configure-in-i.html#answer-63902&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 04:58:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-will-I-set-up-Secure-NIFI-cluster-that-using-my-real/m-p/151865#M44631</guid>
      <dc:creator>marknguyen</dc:creator>
      <dc:date>2016-10-28T04:58:23Z</dc:date>
    </item>
  </channel>
</rss>

