Github user alopresto commented on the issue:
https://github.com/apache/nifi/pull/1841
Running the (old) application with the [linked
flow](https://gist.github.com/alopresto/dca35c3758ad09f2eb8e23f2e3204367) would
get an `SSLPeerUnverifiedException` on the certificate.
<img width="1920" alt="screen shot 2017-05-22 at 1 26 11 pm"
src="https://cloud.githubusercontent.com/assets/798465/26330385/7f8fffd2-3f00-11e7-8371-6d0ddd64fc6c.png">
With the new version of the `httpclient` library, this is corrected and the
`400` response is received as expected.
```
2017-05-22 15:04:34,339 ERROR [Timer-Driven Process Thread-3]
o.a.nifi.processors.standard.GetHTTP
GetHTTP[id=31d14773-015c-1000-ca53-529cf87acf87] received status code 400:Bad
Request from https://www.googleapis.com/youtube/v3/commentThreads?key=
```
I had to explicitly add `httpcore` as a dependency to bring in the
`@ThreadSafe` annotation.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---