Having trouble with API calls to Hue. I'm using Retrofit, and calling their v1 API.
I think the problem is "common name validation", from their docs:
"The other part of the certificate validation is checking that the common name on the certificate matches the bridge id of the bridge you are trying to connect to. This is typically done by using the bridge id as hostname and adding a custom resolver that resolves it to the IP address, or by injecting a custom hostname verifier into the HTTPS client which checks that the server principal name matches the bridge id."
I'm not sure what this means; I have the IP address, and the bridge id, but I'm not sure what to do with them?