How to use NSMutableURLRequest with certificate authentication.
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