laptop and a wrench

Bug

Certificate picker does not appear for portal configured with Public Key Infrastructure (PKI) authentication.

Last Published: May 8, 2019 ArcGIS Runtime SDK
Bug ID Number BUG-000119048
SubmittedDecember 27, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.2.1
Operating SystemApple iOS
Operating System Version11.0x
StatusKnown Limit

Additional Information

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

Steps to Reproduce

Bug ID: BUG-000119048

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options