<?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: SSLPeerUnverifiedException on InvokeHTTP processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347248#M235116</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;,&amp;nbsp;Have any of the replies helped resolve 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;</description>
    <pubDate>Mon, 11 Jul 2022 05:41:04 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2022-07-11T05:41:04Z</dc:date>
    <item>
      <title>SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/346990#M235040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am very frequently getting the following exception whenever I call the URL seen in the message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-07-06 15:24:56,138 ERROR [Timer-Driven Process Thread-10] o.a.nifi.processors.standard.InvokeHTTP InvokeHTTP[id=33351c02-15ee-1ccc-6c00-dda0e16110ca] Routing to Failure due to exception: javax.net.ssl.SSLPeerUnverifiedException: Hostname creatorapp.zoho.com not verified (no certificates): javax.net.ssl.SSLPeerUnverifiedException: Hostname creatorapp.zoho.com not verified (no certificates)
javax.net.ssl.SSLPeerUnverifiedException: Hostname creatorapp.zoho.com not verified (no certificates)
	at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:396)
	at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:337)
	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:209)
	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
	at org.apache.nifi.processors.standard.InvokeHTTP.onTrigger(InvokeHTTP.java:850)
	at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
	at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1202)
	at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)
	at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:103)
	at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some details about it:&lt;BR /&gt;1. The URL certificate is valid&lt;BR /&gt;2. The request is processed correctly on the second or third try and if several flowfiles are queued, the following messages may or may not present the same behavior. But usually the request is always processed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="templarian_1-1657135763770.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34784iE09361395B3FDDD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="templarian_1-1657135763770.png" alt="templarian_1-1657135763770.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. I am using the self-signed certificate generated by Nifi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:40:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/346990#M235040</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-07-06T19:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/346999#M235042</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's odd. It looks like the server sometimes fails to provide the right certificate to the client.&lt;/P&gt;&lt;P&gt;How often does this happen?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 23:40:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/346999#M235042</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-07-06T23:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347075#M235059</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Does the target URL hostname go to a LB that can route that request to any number of endpoint servers?&lt;BR /&gt;Perhaps not all those endpoint servers use the same serverAuth certificate or are not all signed by the same authority or an authority known the the truststore configured in the SSLContextService you have configured in your invokeHTTP processor.&lt;BR /&gt;&lt;BR /&gt;In this scenario, it would work when your request get send to some endpoints and fail with others even though what you have configured in the processor never changes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:41:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347075#M235059</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-07-07T15:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347248#M235116</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;,&amp;nbsp;Have any of the replies helped resolve 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;</description>
      <pubDate>Mon, 11 Jul 2022 05:41:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347248#M235116</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2022-07-11T05:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347435#M235167</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328" target="_blank"&gt;@araujo,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just today I detected more than 150 errors over around 400 HTTP request.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 00:44:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347435#M235167</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-07-13T00:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347436#M235168</link>
      <description>&lt;P&gt;&lt;EM&gt;Does the target URL hostname go to a LB that can route that request to any number of endpoint servers?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;I don't really know, but thing that this is the scenario.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Perhaps not all those endpoint servers use the same serverAuth certificate or are not all signed by the same authority or an authority known the the truststore configured in the SSLContextService you have configured in your invokeHTTP processor.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;Is possible. I added the root certificate available on CA Authority to the keystore and will monitor the behavior.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 01:44:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/347436#M235168</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-07-13T01:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSLPeerUnverifiedException on InvokeHTTP processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/348576#M235397</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was on the JDK version. We were using OpenJDK 11.0.2 which had a bug in the &lt;A href="https://bugs.openjdk.org/browse/JDK-8212885" target="_blank" rel="noopener"&gt;TLS handshake&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Solution: Upgrade JDK (now using 11.0.15).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 15:59:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSLPeerUnverifiedException-on-InvokeHTTP-processor/m-p/348576#M235397</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-07-22T15:59:46Z</dc:date>
    </item>
  </channel>
</rss>

