06-02-2017 12:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-02-2017 12:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hey guys,
I'm having some problems verifying the subscribers endpoint. It works fine when I test it directly on the browser (returns 204 or 404 correctly).
Https is running on port 8888 so I set the endpoint as https://<my_url>:8888/fitbit/webhook . My certificate is from DigiCert.
Any help would be appreciated.
Thanks!
Answered! Go to the Best Answer.

- Labels:
-
Subscriptions API
Accepted Solutions
06-05-2017 14:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-05-2017 14:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I just solved it adding the "ca" to the options object, so it looks like:
var options = { key: fs.readFileSync('path_to_file.key'), cert: fs.readFileSync('path_to_cert_file.crt'), ca: fs.readFileSync('path_to_ca_file.crt'), };
06-05-2017 14:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-05-2017 14:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I just solved it adding the "ca" to the options object, so it looks like:
var options = { key: fs.readFileSync('path_to_file.key'), cert: fs.readFileSync('path_to_cert_file.crt'), ca: fs.readFileSync('path_to_ca_file.crt'), };
