Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/111.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS通用链接NSURLAuthenticationMethodServerTrust KAAuthenticationError_Ios_Ssl_Ios Universal Links - Fatal编程技术网

iOS通用链接NSURLAuthenticationMethodServerTrust KAAuthenticationError

iOS通用链接NSURLAuthenticationMethodServerTrust KAAuthenticationError,ios,ssl,ios-universal-links,Ios,Ssl,Ios Universal Links,我已经在我们的应用程序中设置了通用链接,在安装应用程序时无法从我的服务器检索apple应用程序站点关联文件。设备控制台在安装期间尝试检索文件时出现以下错误: Rejecting URL 'https://example.com/apple-app-site-association' for auth method 'NSURLAuthenticationMethodServerTrust': -6754/0xFFFFE59E kAuthenticationErr 我能够使用相同的设备在Safa

我已经在我们的应用程序中设置了通用链接,在安装应用程序时无法从我的服务器检索apple应用程序站点关联文件。设备控制台在安装期间尝试检索文件时出现以下错误:

Rejecting URL 'https://example.com/apple-app-site-association' for auth method 'NSURLAuthenticationMethodServerTrust': -6754/0xFFFFE59E kAuthenticationErr
我能够使用相同的设备在Safari中成功检索文件。它通过https托管,带有标准的verisign颁发的EV证书。在应用程序安装之外检索文件时,我没有收到任何SSL错误,因此我相信服务器端的证书配置正确


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

事实证明,此问题是由于手机上安装了Citrix的Worx造成的。该应用程序在手机上安装了XenMobile的配置文件,干扰了我们的服务器和苹果之间的ssl握手。只有在手机上安装测试应用程序时才会出现这种情况。我们从应用商店下载的生产应用程序运行良好。此外,如果我删除Citrix应用程序和相关的XenMobile配置文件,它也可以工作。非常烦人。

对我来说,问题是缺少一个功能条目:
activitycontinuation:com.example.app
。出于某种原因,当
苹果应用程序站点关联
文件托管在IIS服务器上时,除了
applinks:com.example.app

之外,还需要添加该功能。该设备是否基于WiFi或蜂窝数据?阅读此内容,此答案中的任何内容是否适用于您的情况?“如果您没有在授权中指定的域上正确设置TLS,iOS会在系统日志中记录错误消息”,例如,应用程序尝试使用服务器不支持的TLS版本?:服务器支持所有TLS版本。此外,我还使用苹果提供的工具测试在服务器上访问该文件。当手机成功下载文件时,控制台上不会记录任何内容。只有在失败时,您才会收到消息。