nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aldrin Piri <aldrinp...@gmail.com>
Subject Re: How to get Nest data
Date Wed, 18 Nov 2015 22:36:23 GMT
Satya,

You will need to configure the truststore properties for your SSL Context
Service instance with:

Truststore Filename: the cacerts file from your Java installation

If $JAVA_HOME Is set on your system, it should help point you in the right
direction.  If not, the location of cacerts varies depending on
environment, but is approximately the following for their respective OS

- OS
X: /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/jre/lib/security/cacerts
-- You can additionally use $(/usr/libexec/java_home) to find the path

- Windows: C:\Program Files\Java\jdk<version>\jre\lib\security\cacerts

- Linux: /usr/lib/jvm/java-<version>/jre/lib/security/cacerts
-- You can additionally use $(readlink -f $(which java))


Truststore Password: The default password of "changeit"

Truststore Type: JKS


On Wed, Nov 18, 2015 at 4:19 PM, ambaricloud <skondapalli@ambaricloud.com>
wrote:

> Hi Aldrin
>
> Thank you for your response. I want to call below https from NIFI 'GetHttp'
> processor. To be able to make a https call I need to setup SSL Context.
> What values I need to set in 'SSL Context Service' .
>
>
>
> https://api.home.nest.com/oauth2/access_token?client_id=xxx6b2&code=AUTHORIZATION_CODE&client_secret=kkkkx&grant_type=authorization_code
>
> Regards,
> Satya Kondapalli
> *Cell: *630-340-9704* | *skondapalli@ambaricloud.com* | **ambaricloud.com
> <http://ambaricloud.com>*
>
> On Wed, Nov 18, 2015 at 3:12 PM, Aldrin Piri [via Apache NiFi Developer
> List] <ml-node+s39713n5093h60@n7.nabble.com> wrote:
>
> > Satya,
> >
> > Not sure on the specifics of interacting with the Nest API endpoints, but
> > can certainly help you on your way.  At minimum, you will need to
> > configure
> > the truststore for your SSL Context.
> >
> > There is a thread from the mailing list that goes into greater depth
> > concerning this in NiFi [1]
> >
> > Summarily, you will need to configure the truststore properties with for
> > your SSL Context Service instance with:
> > * the path to the default cacerts truststore that comes bundled with your
> > Java installation, located at JAVA_HOME/jre/lib/security/cacerts
> > * this is of type JKS, and
> > * the default password is "changeit"
> >
> > Let us know if you are still experiencing issues or if there are
> > additional
> > items needed to interact with the Nest API.
> >
> > [1]
> >
> >
> https://mail-archives.apache.org/mod_mbox/nifi-users/201509.mbox/%3CEB8BF379-164B-49D0-82B5-7043F2891FC1@...%3E
> > <
> https://mail-archives.apache.org/mod_mbox/nifi-users/201509.mbox/%3CEB8BF379-164B-49D0-82B5-7043F2891FC1@gmail.com%3E
> >
> >
> > On Wed, Nov 18, 2015 at 12:41 PM, amabricloud <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=5093&i=0>>
> > wrote:
> >
> > > Hi
> > > I am trying to call Nest 'https://' API to get thermostat data,  but
> I
> > am
> > > not sure how to setup 'SSL Context Service'. Any help appreciated.
> > > Satya
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/How-to-get-Nest-data-tp5082.html
> > > Sent from the Apache NiFi Developer List mailing list archive at
> > > Nabble.com.
> > >
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://apache-nifi-developer-list.39713.n7.nabble.com/How-to-get-Nest-data-tp5082p5093.html
> > To unsubscribe from How to get Nest data, click here
> > <
> http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5082&code=c2tvbmRhcGFsbGlAYW1iYXJpY2xvdWQuY29tfDUwODJ8MTM3NDc5MzI2Ng==
> >
> > .
> > NAML
> > <
> http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/How-to-get-Nest-data-tp5082p5096.html
> Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message