Re: SecTrustEvaluate() failing with kSecTrustResultRecoverableTrustFailure
Re: SecTrustEvaluate() failing with kSecTrustResultRecoverableTrustFailure
- Subject: Re: SecTrustEvaluate() failing with kSecTrustResultRecoverableTrustFailure
- From: Jens Alfke <email@hidden>
- Date: Thu, 16 May 2013 12:46:22 -0700
On May 15, 2013, at 9:13 PM, Rick Mann <email@hidden> 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@hidden)
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:
This email sent to email@hidden