2

I'm using NSURLRequest and NSURLConnection to send web requests to a webserver with a valid ssl certificate. Is there anything special I need to do other than setting the url as https vs. http to get it to use ssl?

Randall
  • 14,691
  • 7
  • 40
  • 60

1 Answers1

1

As long as the certificate is valid, there should be no problem.

If it's an untrusted certificate, NSURLConnection has a set of delegate methods to handle authentication challenges:

– connection:canAuthenticateAgainstProtectionSpace:
– connection:didReceiveAuthenticationChallenge: 
Dominic
  • 3,304
  • 19
  • 22