Hi Dan, Yes, currently your processor is saying that it receives a certificate identifying https://www.twitter.com (or whatever the actual URL is) but it cannot build a complete chain between the presented certificate and a known CA/trusted certificate. This is because by default, NiFi doesn’t know any trusted certificates.
You can configure a StandardSSLContextService in Controller Services which points the *truststore file* to $JRE_HOME/lib/security/cacerts (for example, on my Mac, it is /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/security/cacerts), and set the *truststore type* to JKS and the *truststore password* to “changeit”. There is an existing Jira discussing adding this by default [1], but there are pros and cons to that decision. [1] https://issues.apache.org/jira/browse/NIFI-1477?jql=text%20~%20%22truststore%22%20AND%20project%20%3D%20%22Apache%20NiFi%22 <https://issues.apache.org/jira/browse/NIFI-1477?jql=text%20~%20%22truststore%22%20AND%20project%20=%20%22Apache%20NiFi%22> Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Jan 31, 2017, at 6:40 AM, Dan Giannone <dgiann...@humana.com> wrote: > > Hello, > > I am attempting to configure the GetTwitter processor. I’ve set the required > properties such as consumer key and access token. However, when I turn it on > I get the following error: > > Received error CONNECTION_ERROR: sun.security.validator.validatorexception > pkix path building failed > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to requested target. Will attempt to reconnect > > It’s pretty clear there is some sort of certificate/security issue. How would > I go about correcting this? > > Thanks, > > Dan Giannone > > > The information transmitted is intended only for the person or entity to > which it is addressed > and may contain CONFIDENTIAL material. If you receive this > material/information in error, > please contact the sender and delete or destroy the material/information.
signature.asc
Description: Message signed with OpenPGP using GPGMail