Re: Custom SSL trust settings
Re: Custom SSL trust settings
- Subject: Re: Custom SSL trust settings
- From: Jens Alfke <email@hidden>
- Date: Wed, 28 Jan 2009 07:54:24 -0800
On Jan 27, 2009, at 11:44 PM, Ryan Govostes wrote:
So, I would like to be able to explicitly control trust in my code.
I cannot see any documentation on NSURLConnection related to this;
is there a way to control its trust verification?
I ran into this last year. IIRC, there is no really fine-grained way
to control certificate checking at this high level. You'd have to drop
down to the low-level SSL APIs and run the TCP connection yourself,
doing your own HTTP parsing. Yuck.
If you could check the socket's SSL state in one of your
NSURLConnection delegate callbacks, then you could at least abort the
connection if the cert didn't meet your standards; but there's not any
API to get to that either...
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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