iOS设备上的https连接失败

时间:2013-12-03 09:22:52

标签: ios ssl https nsurlconnection

我在连接服务器时遇到错误:Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “...” which could put your confidential information at risk."。我试过了this。但它仅适用于模拟器。当我在我的iOS设备上测试时,它无法连接到服务器。什么是不正确的?有人能帮助我吗?

0 个答案:

没有答案