NSURLConnection and HTTPS
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