tag:blogger.com,1999:blog-5817109634609011374.post5454389829665869725..comments2023-03-31T15:34:44.498+03:00Comments on iLessons iLearned: How to Accept Self-Signed Server Certificatejouni miettunenhttp://www.blogger.com/profile/07233375549382114547noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5817109634609011374.post-33967238832076380812012-05-24T09:00:20.718+03:002012-05-24T09:00:20.718+03:00For iOS5 please check NSURLConnectionDelegate meth...For iOS5 please check NSURLConnectionDelegate method willSendRequestForAuthenticationChallenge (and connectionShouldUseCredentialStorage)jouni miettunenhttps://www.blogger.com/profile/07233375549382114547noreply@blogger.comtag:blogger.com,1999:blog-5817109634609011374.post-27515443040464582212012-05-24T00:12:47.634+03:002012-05-24T00:12:47.634+03:00Thank you very much. This different (documented an...Thank you very much. This different (documented and legal) method you mentioned, can you explain what you did? If not, can you point me in the right direction?<br /><br />Thanks againidev1819https://www.blogger.com/profile/18130639108472614423noreply@blogger.comtag:blogger.com,1999:blog-5817109634609011374.post-4755854231373781962012-05-15T06:19:53.929+03:002012-05-15T06:19:53.929+03:00Well, I used it exactly like that in iOS4. Actuall...Well, I used it exactly like that in iOS4. Actually for iOS5 I had to use a bit different (documented and legal) method.jouni miettunenhttps://www.blogger.com/profile/07233375549382114547noreply@blogger.comtag:blogger.com,1999:blog-5817109634609011374.post-53636806820879715072012-05-04T07:39:12.827+03:002012-05-04T07:39:12.827+03:00Thanks so much! But in my case, it only works on i...Thanks so much! But in my case, it only works on ios 5.<br /><br />Do you know how make it work on ios 4?Góc Trái Timhttps://www.blogger.com/profile/14969347789351794870noreply@blogger.comtag:blogger.com,1999:blog-5817109634609011374.post-89551045348027172702012-04-11T18:08:25.595+03:002012-04-11T18:08:25.595+03:00Well, I did write it's undocumented and not to...Well, I did write it's undocumented and not to be used in official release. However the code is good during development and while waiting for the real certificate.jouni miettunenhttps://www.blogger.com/profile/07233375549382114547noreply@blogger.comtag:blogger.com,1999:blog-5817109634609011374.post-74410283506359806722012-04-05T07:01:12.138+03:002012-04-05T07:01:12.138+03:00Grrrrrrrr... searching for a solution to this issu...Grrrrrrrr... searching for a solution to this issue I keep finding this stupid solution which apple will not accept because it uses a private method. I really wish people would stop posting and reposting this.GregChttps://www.blogger.com/profile/17340589125352742891noreply@blogger.com