• 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: NSImage initWithContentsOfURL over SSL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSImage initWithContentsOfURL over SSL (From: Marcel Borsten <email@hidden>)

  • Prev by Date: Re: Best way to bind an Inspector to iVars/Properties?
  • Next by Date: Re: Notification for mouse-up on NSStepper
  • Previous by thread: Re: NSImage initWithContentsOfURL over SSL
  • Next by thread: Re: Why is the latest WebKit interacting with my NSThread?
  • Index(es):
    • Date
    • Thread