Hello, I'm trying to control my Phillips hue lights from my app. Anyway they have an Api where we can control all of that. The issue is that on the software Postman (to test) they say to disable "SSL Certificate Verification". When I try to call with URLRequest in my app the same url which is: "https://<ip_address_of_Hue_bridge>/clip/v2/resource/device" well, I get this error:
Domain=kCFErrorDomainCFNetwork Code=-1202 NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “<ip_address_of_Hue_bridge>” which could put your confidential information at risk.
On the the Phillips Hue Developer portal they gave me something that look like the .cert certificate, but I don't know how to use it with Xcode.
Thank you for your help
Here in the attachment the full content of it. I read the articles you sent, I understand more how TLS is working, but I still don't concretely know how to implement an api request with the certificate. Also something that might be interesting to know is that the url I'll use, will never be the same. It's to connect to hue bridge (so every home will have a hue bridge with a different IP address).