• 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: SSL support on Webkit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSL support on Webkit


  • Subject: Re: SSL support on Webkit
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 18 Dec 2007 05:36:46 -0700


On Dec 18, 2007, at 3:33 AM, Kan Cheng wrote:

I'm customizing my own web browser by using Webkit, but when using it to access URL with https:// prefix, it doesn't work.
With WebFrameLoadDelegate protocol's help, I catch an error with the description "untrusted server certificate" in the WebView:didFailProvisionalLoadWithError:forFrame: method.
So does it mean the webkit does not support SSL?


No; it means that the certificate failed a trust check for some reason, usually because it expired, or the host names don't match, or the root is unknown or expired, etc.

But when using Safari to access such URLs, it will pop up a certification dialog box and then after press 'Continue', it can access the URLs properly.

That's because Safari is programmed to handle certificate errors. You can, too, using the SecurityInterface framework, although implementing the "continue" command currently requires use of a private method.


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: 
 >SSL support on Webkit (From: Kan Cheng <email@hidden>)

  • Prev by Date: Cocoa, Java and JavaScript (Rhino)
  • Next by Date: File changed by other application after saving
  • Previous by thread: SSL support on Webkit
  • Next by thread: Dir of app
  • Index(es):
    • Date
    • Thread