views:

632

answers:

2

Hi,

Is there any way to bundle a certificate in my application - and then use that to perform HTTP GET/POST using a NSURLRequest?

I.e. the certificate should not be used for other HTTP traffic on the device, only by my application.

Cheers

A: 

I don't believe so, but since all applications are sandboxed any special authentication measures you may have within your application cannot be accessed by other applications.

zPesk
A: 

I am looking to do something similar, i.e. tag my certificate with every HTTP call I make from the client. Based on the certificate the server will allow/deny access to the web-services.

I am using sendSynchronous so didRecieveAuthChallenge kind of implmentations wont work for me.

Has anyone been able to successfully send certificate along with a synchronous call?

mayank