此服务器的证书无效 [英] certificate for this server is invalid

查看:1410
本文介绍了此服务器的证书无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用已上线。它工作正常。但是有一天我们在服务器上更改了证书(出于安全目的)。现在每当我试图运行我的应用程序。它提供错误

My app is live. It was working fine. But somedays before we changed the certificates(for security purpose) on Server. And Now whenever I tried to run my app. It is giving error:


此服务器的证书无效。您可能连接到假装为域名的
a服务器,这可能会使您的
机密信息面临风险。

The certificate for this server is invalid. You might be connecting to a server that is pretending to be "DOMAIN NAME" which could put your confidential information at risk.

我使用的是Swift3。 我想知道这是前端问题还是服务器端问题?我该如何解决这个问题?

I am using Swift3. I want to know Is this front-end issue or server-end? How can I resolve this?

注意:我已经搜索了很多关于这个问题,但没有得到解决方案。我也尝试过 Titanium - " The此服务器的证书无效。您可能正在连接到假装为DOMAIN.COM的服务器但我已经按照所有步骤进行了操作。

Note: I have searched a lot about the issue, but didn't get the solution. I also tried Titanium - "The certificate for this server is invalid. You might be connecting to a server that is pretending to be DOMAIN.COM" but I was already follow all the steps.

其他内容是web-app和Android-app工作正常。但iOS应用程序出错。

Other thing is web-app and Android-app is working Ok. But iOS app giving error.

推荐答案

解决了同样的问题,只需设置设备的日期和放大器即可。时间自动。

Solved same issue with just setting devices' date & time to automatic.

这篇关于此服务器的证书无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆