I need to be able to use https to connect to a server and I'm wondering if there's recommended way of doing this on the iPhone that's NOT: - an undocumented api call - does not require manually storing certificates in the app bundle
Thanks all.
I need to be able to use https to connect to a server and I'm wondering if there's recommended way of doing this on the iPhone that's NOT: - an undocumented api call - does not require manually storing certificates in the app bundle
Thanks all.
NSURLRequest and NSURLConnection are what you're looking for. Start with the docs for those.
What's the problem you have with using https? The URL Loading System (i.e. NSURLConnection) and WebKit both support it out-of-the-box. The only issue I know of is with using untrusted certificates, and the only solution I know of to that is (unfortunately) to use a private API call. But you shouldn't be shipping an app that relies on communicating with a server that uses untrusted certificates anyway.
I'm struggling with the same issue. Can anyone give me some sample code or more details? Any advices would be appreciated.
Hi,
Is there any issues to access https with iphone browser?
We are here iphone developer team and recently we did one application and website which used socket secure layer (SSL). Here when user access site with http://www it will not send auto or to load with https is there any reason?
Thanks