Hi Tim
>
> Is there something I need to do with ASIHTTPRequest to get it nicely accepting the ssl certs that twitter is using on
api.twitter.com/1 ?
>
> See thread below fwd'ed from the Twitter dev group.
Someone else reported an issue with seemingly random failures with SSL a month or so ago, it seemed to work some of the time for them, but not always.
Assuming you're seeing something like 'SSL problem (possibily a bad/expired/self-signed certificate)' in your error, to see what the problem is, you could try changing:
reason = [NSString stringWithFormat:@"%@: SSL problem (possibily a bad/expired/self-signed certificate)",reason];
to:
reason = [NSString stringWithFormat:@"%@: SSL problem (possibily a bad/expired/self-signed certificate) Code: %hi",reason,[underlyingError code]];
...in ASHTTPRequest.m (around line 2275 in the latest version), then log [request error].
The meanings of the error codes are defined in SecureTransport.h which is in the Mac SDK, though I think some codes may be different on iPhone OS.
Thanks
Ben