<?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 Not valid SSL Certificate in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350795#M236079</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello, I could use some help...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using GetHTTP and InvokeHTTP processors for reading certain indices in a elasticsearch database. The URL to this database is a HTTPS, my question is the following: Is it possible to run these processors leaving the SSL Context Service property as "No value" when you insert in the URL property a HTTPs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do this I get the following error (InvokeHTTP processor):&lt;/P&gt;&lt;DIV class="bulletin-info"&gt;&lt;DIV class="clear"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;InvokeHTTP[id=0e07115a-102e-1182-be33-467ed7f3f784] Yielding processor due to exception encountered as a source processor: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: {}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run a GET to this URL in postman with "&lt;SPAN&gt;Enable SSL certificate verification"=OFF&lt;/SPAN&gt;&amp;nbsp;it works. However,&amp;nbsp;&lt;SPAN&gt;taking a look at the error It looks like Nifi requires the SSL&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;certificate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that if I download the certificate and import it as a trusted certificate in the KeyStore Explorer and use the&amp;nbsp;SSL Context Service property I get the following error in Nifi:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;InvokeHTTP[id=01821018-0e07-1153-5966-62a9d2f5c98e] Yielding processor due to exception encountered as a source processor: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: {}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might be because the site is not safe and the downloaded certificate is not valid. I get the following alert when I introduce the URL in my search engine: Not trusted certificate.&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-center" image-alt="Angelvillar_1-1661431638958.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35310i218EC981EE8EE0C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Angelvillar_1-1661431638958.png" alt="Angelvillar_1-1661431638958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is there any way to solve this problem? How can I perform a GET in Nifi to an HTTPs without the SSL certificate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks in advance for the help.&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, 25 Aug 2022 12:56:00 GMT</pubDate>
    <dc:creator>Angelvillar</dc:creator>
    <dc:date>2022-08-25T12:56:00Z</dc:date>
    <item>
      <title>Not valid SSL Certificate</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350795#M236079</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, I could use some help...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using GetHTTP and InvokeHTTP processors for reading certain indices in a elasticsearch database. The URL to this database is a HTTPS, my question is the following: Is it possible to run these processors leaving the SSL Context Service property as "No value" when you insert in the URL property a HTTPs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do this I get the following error (InvokeHTTP processor):&lt;/P&gt;&lt;DIV class="bulletin-info"&gt;&lt;DIV class="clear"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;InvokeHTTP[id=0e07115a-102e-1182-be33-467ed7f3f784] Yielding processor due to exception encountered as a source processor: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: {}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run a GET to this URL in postman with "&lt;SPAN&gt;Enable SSL certificate verification"=OFF&lt;/SPAN&gt;&amp;nbsp;it works. However,&amp;nbsp;&lt;SPAN&gt;taking a look at the error It looks like Nifi requires the SSL&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;certificate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that if I download the certificate and import it as a trusted certificate in the KeyStore Explorer and use the&amp;nbsp;SSL Context Service property I get the following error in Nifi:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;InvokeHTTP[id=01821018-0e07-1153-5966-62a9d2f5c98e] Yielding processor due to exception encountered as a source processor: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target: {}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might be because the site is not safe and the downloaded certificate is not valid. I get the following alert when I introduce the URL in my search engine: Not trusted certificate.&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-center" image-alt="Angelvillar_1-1661431638958.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35310i218EC981EE8EE0C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Angelvillar_1-1661431638958.png" alt="Angelvillar_1-1661431638958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is there any way to solve this problem? How can I perform a GET in Nifi to an HTTPs without the SSL certificate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks in advance for the help.&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, 25 Aug 2022 12:56:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350795#M236079</guid>
      <dc:creator>Angelvillar</dc:creator>
      <dc:date>2022-08-25T12:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not valid SSL Certificate</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350884#M236100</link>
      <description>&lt;P&gt;The security overview of the page is the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Angelvillar_0-1661513634138.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35342i522472A1563A52E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Angelvillar_0-1661513634138.png" alt="Angelvillar_0-1661513634138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate some help&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 11:34:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350884#M236100</guid>
      <dc:creator>Angelvillar</dc:creator>
      <dc:date>2022-08-26T11:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not valid SSL Certificate</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350889#M236103</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99589"&gt;@Angelvillar&lt;/a&gt;&amp;nbsp;I would recommend that you create a SSL Context Service using javas cacerts as the keystore and truststore.&amp;nbsp; &amp;nbsp;If that doesnt work,&amp;nbsp; THEN, try to make your own with the certs from the ELK server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a similar post with a lot more details of how that looks with cacerts and details for alternative custom keystore/trustore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-for-Elasticsearch/m-p/302719" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Configure-StandardSSLContextService-for-Elasticsearch/m-p/302719&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 12:39:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Not-valid-SSL-Certificate/m-p/350889#M236103</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2022-08-26T12:39:23Z</dc:date>
    </item>
  </channel>
</rss>

