Re: NSImage initWithContentsOfURL over SSL
Re: NSImage initWithContentsOfURL over SSL
- Subject: Re: NSImage initWithContentsOfURL over SSL
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 7 Dec 2007 13:50:26 -0700
On Dec 7, 2007, at 5:47 AM, Marcel Borsten wrote:
I'm trying to load an image into an NSImageView using NSImage
initWithContentsOfURL. The URL I'm using has to be https, but the
certificate is a not trusted 'default' certificate. When I load an
image http it works fine, but when I try to use the SSL connection,
the image wont load.
Does anyone know how to set the connection to trust the certificate
or ignore the warning...
That's not possible without a method that returns an error, and even
if you do handle the SSL error by using a certificate panel, the
method to mark the URL as "trusted" is private for some reason.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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