Certificate picker does not appear for portal configured with Public Key Infrastructure (PKI) authentication.
上次发布: May 8, 2019ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000119048
已提交
December 27, 2018
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.2.1
操作系统
Apple iOS
操作系统版本
11.0x
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Explorer app does not support signing in using PKI certificates.
This capability is supported in Runtime, but Explorer doesn't take advantage of it.
Simply installing the pfx certificate on an iOS device is not enough for custom apps. Custom apps do not get access to the certificate the way that inbuilt iOS apps such as Safari does.
Custom apps need to explicitly install the certificate into their own keychain. Runtime provides a convenient method on AGSCredential call importCertificateData:password:overwrite:error:() which allows certificates to be installed into the app's keychain.
Then, when the user tries to sign in to a portal with PKI, the default handler in runtime can present a list of certificates that are available in the keychain for that portal. If the app wants to customize the sign in process and present its own UI, it can use the identitiesForProtectionSpace:()
mehod on AGSCredential to get a list of available certificates, and then create a credential with the chosen certificate to handle the authentication challenge