While making http request, app is working fine but when the https url is hit, following error occur -
NSURLSession/NSURLConnection HTTP load failed(kCFStreamErrorDomainSSL, -9813)
Already tried solutions -
- Ignoring certificate errors with NSURLConnection
- How to use NSURLConnection to connect with SSL for an untrusted cert?
but no success.
Could someone provide a working solution?