SSL -9810 error, what is it?
SSL -9810 error, what is it?
- Subject: SSL -9810 error, what is it?
- From: Alex Curylo <email@hidden>
- Date: Fri, 6 Aug 2010 11:42:39 -0700
I'm using the ASIHTTPRequest library on iOS for a server-centric game, and I've found that after getting a certificate and moving to https communications, just often enough to be annoying but not often enough to be reproducible I'll have a request fail with this error logged:
FAIL: Error Domain=ASIHTTPRequestErrorDomain Code=1 "A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)"
NSUnderlyingError=0x6008210 "The operation couldn’t be completed. (OSStatus error -9810.)",
NSLocalizedDescription=A connection failure occurred: SSL problem (possibly a bad/expired/self-signed certificate)
The certificate is just fine to all appearances, and if it wasn't presumably the app could never connect, not just fail once every day or two. Googled around some and the only thing I found that seemed possibly relevant was to turn off certificate validation in CFNetwork, which ASIHTTPRequest helpfully provides an access method for. That didn't make any difference.
Any suggestions as to what could be the issue here and what I should do about it? Is it likely that a DTS support question would be put to good use here? Have I overlooked some should have been blindingly obvious tech note somewhere?
--
Alex Curylo -- email@hidden -- http://www.alexcurylo.com/
Programming is like sex...
One mistake and you support it the rest of your life.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden