• 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
How to use NSMutableURLRequest with certificate authentication.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use NSMutableURLRequest with certificate authentication.


  • Subject: How to use NSMutableURLRequest with certificate authentication.
  • From: Jim Murry <email@hidden>
  • Date: Thu, 3 Jan 2008 05:17:39 -0800

I had been using CurlHandle, but it does not appear to work for Leopard because CurlHandle subclasses NSURLHandle that is deprecated.  The URL requires the use of a certificate rather than a name and password.  The code I was using was the following:

[curlHandle setString:[[NSUserDefaults standardUserDefaults] objectForKey: @"keyFilePath"] forKey:CURLOPT_SSLCERT];

I know that CurlHandle just sets curl_easy_setopt for CURLOPT_SSLCERT, but I have not been able to sift through curl to figure out how curl sends the certificate to the HTTPS site.

Is there a way to get an NSMutableURLRequest to authenticate using a certificate rather than name and password?

Thanks
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Upnp solutions
  • Next by Date: How to find the logged in user is Admin or Standard user?
  • Previous by thread: Upnp solutions
  • Next by thread: How to find the logged in user is Admin or Standard user?
  • Index(es):
    • Date
    • Thread