2

My app has a UIWebView and it should open a website that contains SSL. If I open such a website I get an error displayed and after that I still want open that website.

I found a lot of stuff but nothing solved my problem, e.g. Delegate method didReceiveAuthenticationChallenge is not getting called, UIWebView to view self signed websites (No private api, not NSURLConnection) - is it possible?, Create SSL connection using certificate or iOS HTTPS requests 101 and a lot of other sites.

The server certificate is self-signed. My target of iOS version is 8 and 9. Does ist contain any difference between this two version? I don't know how to implement it. Every time I'm starting my application I get the following error:

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)

EDIT:

SSL has the requirements iOS version > 9 needs (TLS >= 1.2, connection ciphers supports PFS, requires certificate with SHA-256 fingerprints mit 2048bit+ RSA || 256bit+ ECC (elliptic curve) and the accepted ciphers)

Community
  • 1
  • 1
Premox
  • 323
  • 10
  • 25

0 Answers0