I am receiving a SSL error in my NSURLConnection class, suddenly from iOS7 GM. I cannot access any of my APIs or webView pages, and is a severe emergency.
Can anybody help me here?
The error is as follows:
NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
I've looked up the error, and it is explained as follows:
errSSLNoRootCert = -9813, /* cert chain not verified by root */
My root certificate for my domain (confirmed via browser access) is
"AddTrust External CA Root".
It is very unlikely that this is not trusted, because:
This root certificate is even listed in "iOS5 and 6: List of trusted root certificates". http://support.apple.com/kb/ht5012
This error has never appeared anytime up to iOS6, and even until iOS7 beta 6. It suddenly appeared in iOS7 GM.
My browser tells me that it is a trusted certificate.
There are no problems with expiration dates for my certificate.
I want to know whether this is a bug in the OS, or whether I have to purchase a certificate of a different root, or whether problems lie elsewhere.
P.S. I have no code around my NSURLConnection for handling authentication challenges.