views:

3924

answers:

4
+1  Q: 

HTTPS on iPhone

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.

+2  A: 

NSURLRequest and NSURLConnection are what you're looking for. Start with the docs for those.

August
+1  A: 

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.

Kevin Ballard
A: 

I'm struggling with the same issue. Can anyone give me some sample code or more details? Any advices would be appreciated.

Jason
A: 

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

Addon Solutions