Access secured portals using a certificate.
PKI (Public Key Infrastructure) is a certificate authentication method to secure resources without requiring users to remember passwords. Government agencies commonly issue smart cards using PKI to access computer systems.
NOTE: You must provide your own ArcGIS Portal with PKI authentication configured.
Provide a URL to a PKI-enabled server, then use the certificate selection UI to select an appropriate certificate for that server.
- Create the X.509 certificate store, referring to the user's certificates.
- Open the certificate store in read-only mode.
- Find all certificates that are currently valid.
- Display a content dialog, allowing the user to select a certificate.
- Create the ArcGIS Runtime credential with the chosen certificate.
- [Workaround] Use
Windows.Web.Http.HttpClient
to force certificate selection to work. - Create the Portal, explicitly passing in the credential that was created.
- CertificateCredential
ArcGIS Enterprise requires special configuration to enable support for PKI. PKI authentication can be set up to work with accounts managed by Windows Active Directory or LDAP.
⚠ NOTE: UWP apps must declare the following capabilities in their manifest: Private Networks (Client & Server), Shared User Certificates.
smartcard, PKI, certificate, store, X509, authentication, login, passwordless