Skip navigation.
 
mlNSURLConnection and certificate handling
FROM : Helge Hess
DATE : Sat Nov 06 22:31:09 2004

Hi,

I'm trying to connect to an SSL Apache which is configured with a
self-built certificate using NSURLConnection. Which gives me an
NSError:
---snip---
NSError "bad server certificate" Domain=NSURLErrorDomain Code=-1203
UserInfo={
    NSErrorFailingURLKey = https://myserver/RPC2;
    NSErrorFailingURLStringKey = "https://myserver/RPC2";
    NSLocalizedDescription = "bad server certificate";
}>
---snap---
Which is correct, but how can I make WebKit to connect anyway? I would
like to show the usual "certificate invalid, want to connect anyway?"
panel and retry if the user presses "Connect".
Possible with WebKit? (Safari obviously supports that)

Thanks,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

Related mailsAuthorDate
No related mails found.