0

I cant get this SSL-thing to work:
I downloaded the cert from the server, which works perfectly.
I also added the myCertificate.cert to my iPhone-Keychain using the code in this thread: Importing an SSL cert under the iPhone SDK
But still the NSURLConnection (async) gives me a kSecTrustResultRecoverableTrustFailure.

Can anyone help an tell me what I'm doing wrong? It's the second full day of search now and I'm becoming desperate...

Community
  • 1
  • 1
  • Have you found this post yet? http://stackoverflow.com/questions/5340937/continuously-getting-ksectrustresultrecoverabletrustfailure-while-trust-evaluati – sarnold Mar 14 '12 at 11:17
  • No, I hadn't. I now figured out that I get a 'kSecTrustResultUnspecified'... Seems to me that there's something missing in my keachain maybe?! – V. Dader Mar 14 '12 at 12:00

1 Answers1

0

This answer helped me when I had similar problem. Make sure your certificate contains the extensions.

Community
  • 1
  • 1
lawicko
  • 7,246
  • 3
  • 37
  • 49