gpt4 book ai didi

ios - Swift - 此服务器的证书无效

转载 作者:行者123 更新时间:2023-11-28 07:27:22 25 4
gpt4 key购买 nike

如何在 iOS 上使用 Swift 解决这个问题?当我发出服务器请求时,出现以下错误:

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.

最佳答案

您只需在 iOS 模拟器上安装证书


来自 Charles Documentation :

Quit your iOS Simulator. Launch Charles and go to the Help menu. Choose the "SSL Proxying > Install Charles Root Certificate in iOS Simulators" item. This will install your Charles Root Certificate into all of your iOS Simulators. Now when you start the iOS Simulator, you should be able to access SSL websites with Charles using SSL Proxyin

关于ios - Swift - 此服务器的证书无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56108914/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com