• 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
Re: NSURLConnection SSL connection with expired cert.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection SSL connection with expired cert.


  • Subject: Re: NSURLConnection SSL connection with expired cert.
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 3 Mar 2008 14:14:01 -0800


On 3 Mar '08, at 1:08 PM, Dave Hersey wrote:

Is there a way to get NSURLConnection to connect to an SSL server that has an expired certificate?

I don't think so. I can't find any public API having to do with SSL or certificates.


If this can't be handled by NSURLConnection, is there a way to do it with CFNetwork?

The underlying CF classes corresponding to NSURLConnection etc. are private. (They're new in Leopard and their APIs aren't solid enough to expose them to the public yet.)


I believe you could use lower-level networking APIs like CFStream to create your own SSL connection, but that would involve you having to re-implement the HTTP protocol yourself on top of it. Not fun.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >NSURLConnection SSL connection with expired cert. (From: Dave Hersey <email@hidden>)

  • Prev by Date: Re: Changing the format of NSTableColumn built using Core Data Entity ?
  • Next by Date: Re: Traversing windows with Cocoa
  • Previous by thread: NSURLConnection SSL connection with expired cert.
  • Next by thread: Re: NSURLConnection SSL connection with expired cert.
  • Index(es):
    • Date
    • Thread