On May 15, 2013, at 9:13 PM, Rick Mann <[email protected]> wrote:

> I'm trying to validate our self-signed certificate in 
> NSURLConnectionDelegate's 
> -connection:willSendRequestForAuthenticationChallenge: using itself as the 
> root cert. I'm not 100% sure I'm doing it right, but looking at the 
> ridiculously, excessively complicated example code, I've come up with this:

Ugh, yeah, I’ve had trouble with this too, but it was long enough ago that I 
don’t remember the details.
One thing that might help is calling SecTrustGetResult to get detailed info on 
the results of trust evaluation. The returned structure might have some clues 
in it.

You can also ask for help on the apple-cdsa list (which is for security/crypto 
related topics).

—Jens
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to