3 ms·
If it is an http API, you don't really need a public certificate. You can have a long term selfsigned certificate on the device and you check that the thumbprin
by cm2187 9y ago
If it is an http API, you don't really need a public certificate. You can have a long term selfsigned certificate on the device and you check that the thumbprint hasn't changed every time you connect from your client. These big warning windows are for connecting to it from a browser, not a RestClient.
- cryo 9y ago>These big warning windows are for connecting to it from a browser, not a RestClient. Which in my case is a webapp running in a browser :)
- Jaruzel 9y agoWhy not just proxy the REST requests through your own backend HTTPS server-app ?
- akvadrako 9y agoSo any random webpage can talk to your Hue bridge? I'm surprised they even allow such cross-domain requests, but this anyway doesn't seem safe.
- cryo 9y agoCross-domain is needed, otherwise an app/webapp couldn't talk to the bridge since the bridge only serves the REST API. However in order to send control commands and query light states the app/webapp needs to authenticate and create a account, which is only possible for a few seconds after pressing a physical bridge button.