且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“发生了ssl错误,无法与服务器建立安全连接”仅在手机上连接到Internal Development Server

更新时间:2021-12-28 21:41:18

我读完这篇文档

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>Your Domain</key>   
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>                
            <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
    </dict>
</dict>

我的应用程序正在使用设备。我在服务器上的证书尚未准备好Forward Secrecy。

My app is now working on devices. My cert on the server is not Forward Secrecy ready yet.