• 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 HTTPS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection and HTTPS


  • Subject: NSURLConnection and HTTPS
  • From: "dexter morgan" <email@hidden>
  • Date: Fri, 3 Oct 2008 17:17:39 +0200

Hello I'm using NSURLConnection in order to download some pages. All
works fine until I try to load an HTTPS page.
This is an example:
https://www.wireless.att.com/olam/loginAction.olamexecute
It return a differ page (not the same viewed into Safari).
I think there is a problem accepting certificates of this page.
Searching inside the list I've found this code:
	[_request setAllowsAnyHTTPSCertificate:YES forHost: [_url host]];

It's a private API. Unfortunatly the message is too old (2005) and at
this time this method seems to be removed.
Anyone can point me to a solution?
TIA
_______________________________________________

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

  • Follow-Ups:
    • Re: NSURLConnection and HTTPS
      • From: Timothy Wood <email@hidden>
  • Prev by Date: Re: Newbie: Strange problem with NSTableView, check boxes and Core Data
  • Next by Date: Re: Newbie: Simple display with NSView - problem
  • Previous by thread: Re: Newbie: Strange problem with NSTableView, check boxes and Core Data
  • Next by thread: Re: NSURLConnection and HTTPS
  • Index(es):
    • Date
    • Thread