04-15-2022 10:16
04-15-2022 10:16
I need to build and test app that uses the Web subscribe API . The developer documentation says we need to use HTTPS and can not use self signed certs. Any idea how I can set up a development environment? My company has a CA cert how ever I am not allowed to expose my development environment using a URL with our domain name. I can use URLs with an ip address and port number if required
What are best practices?
it would be a very difficult process to get a special CA cert. I have no idea how we could pass the CA's validation process.
suggestions appreciated
Andy
04-18-2022 08:23
04-18-2022 08:23
Hi @aedwip
You should be able to use the IP address and port number. It's similar to specifying the domain name. The subscriber endpoint would look like this.
https://<ip_address>:<port>/subscriber_endpoint
Gordon
04-20-2022 11:45
04-20-2022 11:45
Hi Gordon I guess I am missing something. the url you suggested I assume I would need a self signed cert? My understanding is fitbit will not accepts self signed certs? maybe the policy is different for personal apps?
kind regards
Andy
04-21-2022 08:22
04-21-2022 08:22
Self-signed certificates are not supported, and I don't believe there is a way around it. You said you could use an IP address and port number, which should work with defining a subscriber with our systems. However, you'll need to check with your IT department to see if using the IP address and port number can be approved for HTTPS and not self-signed certificates.