<?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: NIFI service doesn't start after SSL configuration in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229607#M191460</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; i tried what you told me and the keystore password worked. But when i start the NIFI service, i still get the same error. So i tried to reinstall the nifi but i get the error below.&lt;/P&gt;&lt;PRE&gt;17/10/31 15:57:49 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
Attempt to contact NiFi Node &lt;A href="https://iot-node07.netvisor.local:9091/nifi" target="_blank"&gt;https://iot-node07.netvisor.local:9091/nifi&lt;/A&gt; did not complete due to exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors. Sleeping for 20 sec(s)
2017-10-31 15:58:10,335 - File['/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.2.0.3.0.0.0-453/bin/node-manager.sh'] {'mode': 0755}
2017-10-31 15:58:13,004 - Will retry 14 time(s), caught exception: Error connecting to one or more nifi nodes: 17/10/31 15:58:11 INFO properties.NiFiPropertiesLoader: Loaded 124 properties from /usr/hdf/current/nifi/conf/nokedli/nifi.properties
17/10/31 15:58:12 INFO properties.ProtectedNiFiProperties: There are 4 protected properties of 5 sensitive properties (100%)
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
Attempt to contact NiFi Node &lt;A href="https://iot-node07.netvisor.local:9091/nifi" target="_blank"&gt;https://iot-node07.netvisor.local:9091/nifi&lt;/A&gt; did not complete due to exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors. Sleeping for 20 sec(s&lt;/PRE&gt;</description>
    <pubDate>Tue, 31 Oct 2017 22:01:47 GMT</pubDate>
    <dc:creator>umarbiliyamin</dc:creator>
    <dc:date>2017-10-31T22:01:47Z</dc:date>
    <item>
      <title>NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229604#M191457</link>
      <description>&lt;P&gt;Hello guys please i need some help here. A former colleague of mine 
installed some HDF services into an existing HDP cluster. The NIFI 
service was running fine but the UI wasnt open because the ssl feature 
was not completely configured. I followed the guide by configuring the 
Initial Admin entity and Node identities but after saving it, NIFI 
stopped working and till now i cannot start it. The error below comes up
 whenever i start the NIFI service.&lt;/P&gt;&lt;PRE&gt;org.apache.nifi.toolkit.tls.&amp;lt;wbr&amp;gt;service.client.&amp;lt;wbr&amp;gt;TlsCertificateAuthorityClient: Unable to open existing keystore, it can be reused by specifiying both configJson and useConfigJson
Service client error: Keystore was tampered with, or password was incorrect&lt;/PRE&gt;&lt;P&gt;Kindly help me.&lt;/P&gt;&lt;P&gt;Also can i use the Ambari to remove a service from the cluster?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 21:58:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229604#M191457</guid>
      <dc:creator>umarbiliyamin</dc:creator>
      <dc:date>2017-10-27T21:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229605#M191458</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44582/umarbiliyamin.html" nodeid="44582"&gt;@Biliyaminu Umar&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;The Error indicates that the Keystore is corrupted or the Password of the keystore is changed.&lt;/P&gt;&lt;PRE&gt; Keystore was tampered with, or password was incorrect&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can use the keytool -list command to see if with the keystore password it is working or not?&lt;/P&gt;&lt;PRE&gt;# $JAVA_HOME/bin/keytool -list -v -keystore /PATH/TO/your_keystore.jks&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Regarding your query:  "can i use the Ambari to remove a service from the cluster?"&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44582/umarbiliyamin.html" nodeid="44582"&gt;&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;From Ambari Server UI we need to stop the service and then we can delete it as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: (It can be any service "NiFi is just for example here)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Ambari UI --&amp;gt; NiFi --&amp;gt; Service Actions (Drop Down) --&amp;gt; Stop
Ambari UI --&amp;gt; NiFi --&amp;gt; Service Actions (Drop Down) --&amp;gt; Delete Service&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also the services can be deleted using Ambari API as mentioned in the following Doc:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 22:56:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229605#M191458</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-27T22:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229606#M191459</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt;. I will try this out. To paint a better scenario, its an HDP cluster of 4 nodes but nifi is running on just one of them. Also, NIFI Certificate Authority is also installed. I thought with CA, i wont need to make any changes to the keystore.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 00:24:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229606#M191459</guid>
      <dc:creator>umarbiliyamin</dc:creator>
      <dc:date>2017-10-28T00:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229607#M191460</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; i tried what you told me and the keystore password worked. But when i start the NIFI service, i still get the same error. So i tried to reinstall the nifi but i get the error below.&lt;/P&gt;&lt;PRE&gt;17/10/31 15:57:49 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
Attempt to contact NiFi Node &lt;A href="https://iot-node07.netvisor.local:9091/nifi" target="_blank"&gt;https://iot-node07.netvisor.local:9091/nifi&lt;/A&gt; did not complete due to exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors. Sleeping for 20 sec(s)
2017-10-31 15:58:10,335 - File['/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.2.0.3.0.0.0-453/bin/node-manager.sh'] {'mode': 0755}
2017-10-31 15:58:13,004 - Will retry 14 time(s), caught exception: Error connecting to one or more nifi nodes: 17/10/31 15:58:11 INFO properties.NiFiPropertiesLoader: Loaded 124 properties from /usr/hdf/current/nifi/conf/nokedli/nifi.properties
17/10/31 15:58:12 INFO properties.ProtectedNiFiProperties: There are 4 protected properties of 5 sensitive properties (100%)
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
17/10/31 15:58:12 INFO properties.AESSensitivePropertyProvider: AES Sensitive Property Provider decrypted a sensitive value successfully
Attempt to contact NiFi Node &lt;A href="https://iot-node07.netvisor.local:9091/nifi" target="_blank"&gt;https://iot-node07.netvisor.local:9091/nifi&lt;/A&gt; did not complete due to exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors. Sleeping for 20 sec(s&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Oct 2017 22:01:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229607#M191460</guid>
      <dc:creator>umarbiliyamin</dc:creator>
      <dc:date>2017-10-31T22:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229608#M191461</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44582/umarbiliyamin.html" nodeid="44582"&gt;@Biliyaminu Umar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;On the Nifi Host can you please check what is the path of nifi keystore &amp;amp; truststore?&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;# grep 'nifi.security' /etc/nifi/conf/nifi.properties &lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;Also please check the permission of these files. &lt;BR /&gt;And please check the certs if those are OK using the following command:&lt;/P&gt;&lt;PRE&gt;# openssl s_client -showcerts -connect iot-node07.xxxxxxxxxxxx.local:9091&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;What is your JDK version?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 22:34:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229608#M191461</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-31T22:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229609#M191462</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;  my jdk version is as below.&lt;/P&gt;&lt;P&gt;openjdk version "1.8.0_131" &lt;/P&gt;&lt;P&gt;When i ran the command to check the certificates, i got the message below before the certificate chain message.&lt;/P&gt;&lt;P&gt;CONNECTED(00000003)
depth=1 OU = NIFI, CN = iot-node07.netvisor.local
verify error:num=19:self signed certificate in certificate chain
verify return:0
140187436160928:error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate:s3_pkt.c:1259:SS                  L alert number 42
140187436160928:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:184:
---&lt;/P&gt;&lt;P&gt;Finally the permissions of the certificates were &lt;STRONG&gt;-rw-------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 18:48:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229609#M191462</guid>
      <dc:creator>umarbiliyamin</dc:creator>
      <dc:date>2017-11-02T18:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229610#M191463</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; since these certificates were generated by someone else i will like to delete them and create a fresh set of certificates together with readding the NIFI component to HDP. &lt;/P&gt;&lt;P&gt;Kindly help will the proper certificate clearing and creation process.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 19:16:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229610#M191463</guid>
      <dc:creator>umarbiliyamin</dc:creator>
      <dc:date>2017-11-02T19:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229611#M191464</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44582/umarbiliyamin.html" nodeid="44582"&gt;@Biliyaminu Umar&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following link can be referred to know about setting the certificates:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/17293/how-to-create-user-generated-keys-for-securing-nif.html" target="_blank"&gt;https://community.hortonworks.com/articles/17293/how-to-create-user-generated-keys-for-securing-nif.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44582/umarbiliyamin.html" nodeid="44582"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 20:07:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229611#M191464</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-02T20:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI service doesn't start after SSL configuration</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229612#M191465</link>
      <description>&lt;P&gt;Thank you very much &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am able to resolve it now&lt;/P&gt;&lt;P&gt;Umar&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 21:08:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NIFI-service-doesn-t-start-after-SSL-configuration/m-p/229612#M191465</guid>
      <dc:creator>umarbiliyamin</dc:creator>
      <dc:date>2017-11-02T21:08:22Z</dc:date>
    </item>
  </channel>
</rss>

