Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative method for NSURLRequest's private "setAllowsAnyHTTPSCertificate:forHost:"?

My iPhone application was rejected solely for using the (very safe, it seems) private method +setAllowsAnyHTTPSCertificate:forHost: for NSURLRequest. Is there a non-private API to emulate this functionality?

like image 853
Michael Avatar asked Jan 04 '10 19:01

Michael


1 Answers

There seems to be a public API for that ;) How to use NSURLConnection to connect with SSL for an untrusted cert?

like image 183
yonel Avatar answered Oct 24 '22 04:10

yonel