Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3954

javax.net.SSL.PeerUnverifiedException Hostname www.googleapis.com does the match the certificate subject provided by the peer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Extensions
    • None

    Description

      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

      Hostname www.googleapis.com does the match the certificate subject provided by the peer *.googleapis.com

      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

      Attachments

        Issue Links

          Activity

            People

              alopresto Andy LoPresto
              dlukyanov Dmitry Lukyanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: