<?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 PKIX path building failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322455#M228791</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed Nifi locally and&amp;nbsp;recieved the below error, could some one please let me know what need to be done.&amp;nbsp;&lt;/P&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="midee_0-1628763549997.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32060iDC407D120FF51BB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="midee_0-1628763549997.jpeg" alt="midee_0-1628763549997.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great help if provided in detailed.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 10:19:30 GMT</pubDate>
    <dc:creator>midee</dc:creator>
    <dc:date>2021-08-12T10:19:30Z</dc:date>
    <item>
      <title>PKIX path building failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322455#M228791</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed Nifi locally and&amp;nbsp;recieved the below error, could some one please let me know what need to be done.&amp;nbsp;&lt;/P&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="midee_0-1628763549997.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32060iDC407D120FF51BB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="midee_0-1628763549997.jpeg" alt="midee_0-1628763549997.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great help if provided in detailed.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 10:19:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322455#M228791</guid>
      <dc:creator>midee</dc:creator>
      <dc:date>2021-08-12T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: PKIX path building failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322531#M228836</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87710"&gt;@midee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not a lot of details in your question here, but the exception:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/LI-CODE&gt;&lt;P&gt;is telling you that the trust could not be determined in the TLS handshake that occurred between client and server.&lt;BR /&gt;&lt;BR /&gt;Essentially this means that yoru truststore did not contain all the necessary TrustedCertEntries.&lt;BR /&gt;The complete trust chain must exist in the truststore.&lt;BR /&gt;&lt;BR /&gt;Lets say you have Certificate "cert-X" signed by Certificate Authority (CA) "CA-A".&lt;BR /&gt;&lt;BR /&gt;Owner: CN=cert-X, OU=test&lt;BR /&gt;Issuer: CN=CA-A, OU=CA-intermediate&lt;BR /&gt;&lt;BR /&gt;Then that CA "CA-A" was signed by another CA "CA-root"&lt;BR /&gt;Owner:&amp;nbsp;CN=CA-A, OU=CA-intermediate&lt;BR /&gt;Issuer:&amp;nbsp;CN=CA-root, OU=CA-root&lt;BR /&gt;&lt;BR /&gt;Then the CA "CA-root" is signed by itself:&lt;BR /&gt;Owner:&amp;nbsp;CN=CA-root, OU=CA-root&lt;BR /&gt;Issuer:&amp;nbsp;CN=CA-root, OU=CA-root&lt;BR /&gt;&lt;BR /&gt;So in order to trust the certificate&amp;nbsp;CN=cert-X, OU=test, the truststore would need to contain the complete trust chain meaning it would need to have a TrustedCertEntry for both "CA-A" and "CA-root"&lt;BR /&gt;&lt;BR /&gt;There may even be more CAs in that trust chain.&amp;nbsp; You need every public cert for each ca all the way to the root CA (owner and issuer the same) to have complete trust chain.&lt;BR /&gt;&lt;BR /&gt;A mutual TLS handshake would require trust in both directions.&lt;BR /&gt;Clients certificate must be trusted by server and server's certificate must be trusted by client.&lt;BR /&gt;&lt;BR /&gt;In a 1-way TLS handshake you only need trust in one direction.&lt;BR /&gt;Client must be able to trust server's certificate only since client would not be sending a certificate to the server.&lt;BR /&gt;&lt;BR /&gt;If you found this response addressed yoru query, please take a moment to login and click "Accept as Solution".&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 15:06:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322531#M228836</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2021-08-13T15:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: PKIX path building failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322843#M228945</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87710"&gt;@midee&lt;/a&gt;&amp;nbsp;Have you resolved your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark as solution button" style="width: 331px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5960i4EC112CCAAC11427/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-08-06 at 1.54.47 PM.png" alt="Screen Shot 2019-08-06 at 1.54.47 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 20:41:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PKIX-path-building-failed/m-p/322843#M228945</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2021-08-19T20:41:53Z</dc:date>
    </item>
  </channel>
</rss>

