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.