• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLConnection and self-signed certs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSURLConnection and self-signed certs?
      • From: Wade Tregaskis <email@hidden>
  • Prev by Date: Re: ServiceIDs and Proxies
  • Next by Date: Re: NSURLConnection and self-signed certs?
  • Previous by thread: Re: ServiceIDs and Proxies
  • Next by thread: Re: NSURLConnection and self-signed certs?
  • Index(es):
    • Date
    • Thread