Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Domain=NSURLErrorDomain Code=-1202 iPhone

I am geting following error: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “api.linkedin.com” which could put your confidential information at risk." UserInfo=0x1c53e630

This works fine on simulator but on device it is giving above mentioned error.

Please help to rectify it.

like image 632
Sachin Siwal Avatar asked Aug 24 '13 05:08

Sachin Siwal


1 Answers

It is device setting that need to change the date and time , and set it automatically ON for current time zone .

like image 158
Sachin Siwal Avatar answered Nov 15 '22 15:11

Sachin Siwal