<?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 StandardSSLContext service for listenTCP in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191188#M70946</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt;&lt;P&gt;Thanks a lot, appreciate it&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 21:31:18 GMT</pubDate>
    <dc:creator>dhieru</dc:creator>
    <dc:date>2017-11-08T21:31:18Z</dc:date>
    <item>
      <title>Setting StandardSSLContext service for listenTCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191185#M70943</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="43502-security-1.png" style="width: 799px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18435i80152FDB6C9E2F90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="43502-security-1.png" alt="43502-security-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks a lot to this aweosme community.&lt;/P&gt;&lt;P&gt;I am trying to set server.key and server.pem store in some directory on my nifi node using StandardSSLcontext service, the type is pkcs12.&lt;/P&gt;&lt;P&gt;Which property will be set here &lt;/P&gt;&lt;P&gt;Keystore properties or&lt;/P&gt;&lt;P&gt;the Truststore ones&lt;/P&gt;&lt;P&gt;I am confused between terminalogies any help&lt;/P&gt;&lt;P&gt;I do not have much idea about keys and certs&lt;/P&gt;&lt;P&gt;Thanks Dheeru&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191185#M70943</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2019-08-18T07:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting StandardSSLContext service for listenTCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191186#M70944</link>
      <description>&lt;P&gt;I read this blog (https://bryanbende.com/development/2017/10/13/apache-nifi-tls-with-apache-solr) by &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt; and looks&lt;/P&gt;&lt;P&gt; like I need download the &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.apache.org/dyn/closer.lua?path=/nifi/1.4.0/nifi-toolkit-1.4.0-bin.tar.gz"&gt;nifi-toolkit-1.4.0-bin.tar.gz&lt;/A&gt; ( &lt;A href="https://www.apache.org/dist/nifi/1.4.0/nifi-toolkit-1.4.0-bin.tar.gz.asc"&gt;asc&lt;/A&gt;, &lt;A href="https://www.apache.org/dist/nifi/1.4.0/nifi-toolkit-1.4.0-bin.tar.gz.md5"&gt;md5&lt;/A&gt;, &lt;A href="https://www.apache.org/dist/nifi/1.4.0/nifi-toolkit-1.4.0-bin.tar.gz.sha1"&gt;sha1&lt;/A&gt;, &lt;A href="https://www.apache.org/dist/nifi/1.4.0/nifi-toolkit-1.4.0-bin.tar.gz.sha256"&gt;sha256&lt;/A&gt; ) from&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/download.html" target="_blank"&gt;https://nifi.apache.org/download.html&lt;/A&gt; and make a keystore or truststore or both?&lt;/P&gt;&lt;P&gt;Am I going in the right direction?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dheeru&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 06:45:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191186#M70944</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-11-08T06:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting StandardSSLContext service for listenTCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191187#M70945</link>
      <description>&lt;P&gt;You need the private key and public key to be stored in a Java Keystore (*.jks) file. You can import the PEM-encoded certificate and key into this form by using the following commands:&lt;/P&gt;&lt;PRE&gt;openssl pkcs12 -export -in server.pem -inkey server.key -out server.p12 -name [some-alias] -chain

keytool -importkeystore -deststorepass [yourpassword] -destkeypass [yourpassword] -destkeystore server.jks -srckeystore server.p12 -srcstoretype PKCS12 -srcstorepass [passwordfromabove] -alias [some-alias]&lt;/PRE&gt;&lt;P&gt;When creating the temporary PKCS12 keystore, make sure to provide a password at the prompt, or the Java keytool utility will not accept it. Once you have the server.jks file, populate the properties as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Keystore file: path/to/server.jks&lt;/LI&gt;&lt;LI&gt;Keystore password: [yourpassword]&lt;/LI&gt;&lt;LI&gt;Key password: [yourpassword]&lt;/LI&gt;&lt;LI&gt;Keystore type: JKS&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This will allow your NiFi instance/component to present a server certificate identifying itself and encrypt the channel. However, to connect to external HTTPS services, you will also need to provide a truststore. A truststore is a keystore file that contains only public certificates of other services to allow your system (in this case, NiFi) to trust them. If you have custom organizational certificates, you'll need to build your own truststore here. If you are just connecting to generic internet services, the JRE default should be fine:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Truststore file: /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/security/cacerts (your JRE path may be different)&lt;/LI&gt;&lt;LI&gt;Truststore password: changeit&lt;/LI&gt;&lt;LI&gt;Truststore type: JKS&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:50:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191187#M70945</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2017-11-08T08:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setting StandardSSLContext service for listenTCP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191188#M70946</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt;&lt;P&gt;Thanks a lot, appreciate it&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 21:31:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Setting-StandardSSLContext-service-for-listenTCP/m-p/191188#M70946</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-11-08T21:31:18Z</dc:date>
    </item>
  </channel>
</rss>

