NSURL and certificates
NSURL and certificates
- Subject: NSURL and certificates
- From: Stephane Huaulme <email@hidden>
- Date: Tue, 15 Apr 2008 20:20:55 -0500
when I try to fetch a web page on an internal server using:
[NSString stringWithContentsOfURL:[NSURL URLWithString: theURLString]
encoding:NSASCIIStringEncoding error:&theError];
I get the following error:
<CFString 0xa00daec8 [0xa01d71a0]>{contents = "NSUnderlyingError"} =
Error Domain=NSURLErrorDomain Code=-1203 UserInfo=0x15579210 "bad
server certificate
what can I do about this?
my problem would likely go away if I could do something like:
wget --no-check-certificate
but i don't know how to do that with NSURL. Is it possibe?
_______________________________________________
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