Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How should the device handle the AuthSub tokens / SSL keys ?

authsub device keys SSL tokens
0
Posted

How should the device handle the AuthSub tokens / SSL keys ?

0

As discussed in the Activation section, each device has its own separate AuthSub token which is issued when the device is enrolled with PowerMeter. The token is tied to the device, not the user. Batch entries are authenticated on a per-device basis. The AuthSub token is sent in the HTTP header for each batch request, so there’s no way to batch up requests for multiple devices. However, you *can* batch up requests for multiple variables for the same device, and we encourage you to do that. Additionally, it is important that the device manage the SSL handshake with Google appropriately as part of the HTTPS protocol being used to upload the data. We recommend that the device follow the certificate authority chain to validate whatever Google certificate is presented and not store the actual certificate on the device itself.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123