https-server-client-ios How to verify https with self-signed certificate (objc and swift language) How to create a self-signed certificate for Apple, more detail is here. demo with https://localhost:443