iOS Universal Links NSURLAuthenticationMethodServerTrust kAuthenticationErr

Nic*_*ier 8 ssl ios ios-universal-links

我在我们的应用程序中设置了Universal Links,我无法在应用安装上从我的服务器检索apple-app-site-association文件.设备控制台在安装过程中尝试检索文件时出现以下错误:

Rejecting URL 'https://example.com/apple-app-site-association' for auth method 'NSURLAuthenticationMethodServerTrust': -6754/0xFFFFE59E kAuthenticationErr
Run Code Online (Sandbox Code Playgroud)

我可以使用相同的设备在Safari中成功检索文件.它通过https托管,并带有标准的verisign颁发的EV证书.在app install之外检索文件时,我没有收到任何SSL错误,因此我确信在服务器端正确配置了证书.

可能导致此错误的原因是什么?

Nic*_*ier 1

事实证明,此问题是由于手机上安装了 Citrix 的 Worx 引起的。该应用程序在手机上安装了 XenMobile 的配置文件,该配置文件干扰了我们的服务器和 Apple 之间的 ssl 握手。仅在手机上安装测试应用程序时出现这种情况。我们从 App Store 下载的生产应用程序运行得很好。此外,如果我删除 Citrix 应用程序和关联的 XenMobile 配置文件,它也可以工作。很烦人。