[
https://issues.apache.org/jira/browse/NIFI-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16022281#comment-16022281
]
ASF subversion and git services commented on NIFI-3954:
-------------------------------------------------------
Commit 6d07ebf50c397458d639b3713525f6bbab4c7901 in nifi's branch
refs/heads/master from [~alopresto]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=6d07ebf ]
NIFI-3954 This closes #1841. Upgraded version of httpclient library to handle
TLS issues.
Added explicit dependency on httpcore for @ThreadSafe annotation.
Signed-off-by: joewitt <[email protected]>
> javax.net.SSL.PeerUnverifiedException Hostname www.googleapis.com does the
> match the certificate subject provided by the peer
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-3954
> URL: https://issues.apache.org/jira/browse/NIFI-3954
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.2.0
> Reporter: Dmitry Lukyanov
> Assignee: Andy LoPresto
>
> The description taken here:
> https://stackoverflow.com/questions/44112959/apache-nifi-with-youtube-data-api
> Use {{GetHTTP}} processor with url
> {{https://www.googleapis.com/youtube/v3/commentThreads?key=}}
> Expected response: should receive http error code 400 with json output, but
> got exception of host name verification
> {code}Hostname www.googleapis.com does the match the certificate subject
> provided by the peer *.googleapis.com{code}
> And reproduced with java 1.8 and nifi 1.2.0
> Also I found this issue in http client 4.4.x
> https://issues.apache.org/jira/browse/HTTPCLIENT-1613
> And nifi 1.2.0 uses httpclient-4.4.1.jar
> Seems just need to change version of httpclient to 4.5
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)