NSURLConnection and self-signed certs?
NSURLConnection and self-signed certs?
- Subject: NSURLConnection and self-signed certs?
- From: joe pezzillo <email@hidden>
- Date: Sat, 12 Jun 2004 17:14:40 -0600
Greetings!
I've searched through my own online archive of MacNetworkProg and
Cocoa-Dev, and I've done some Googlin' for this, but I haven't found
any answers to this, although there's a lot of discussion about HTTPS
(generally the proxy issue) here and on Cocoa-Dev (and lots of
extraneous stuff on the net).
Can I use NSURLConnection to get data from an HTTPS server with a
self-signed/unknown certificate?
I'm getting the NSURLErrorServerCertificateHasUnknownRoot in my
connection:didFailWithReason handler, but I haven't found anything that
explains how to "ignore" it.
If not, what is the recommended/preferred way to do this? I played with
the URLLoad example and it also doesn't seem to handle unsigned certs.
Any suggestions, helpful pointers and of course sample code are most
appreciated.
See you at WWDC!
Joe
email@hidden
ps - this is not the same problem I was dealing with a year ago, at
least I hope not!
http://lists.apple.com/archives/macnetworkprog/2003/May/13/
cfnetworkhttpssamplecode.001.txt
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.