ERROR

java.security.cert.CertPathValidatorException: Vertrauensanker für Zertifizierungspfad nicht gefunden

Last Published: August 23, 2024

Fehlermeldung

When trying to sign in to access a secured ArcGIS Server feature service on ArcGIS Collector, the following error may be returned:

Error:  
"java.security.cert.CertPathValidatorException: Trust anchor for certification path not found"

When working with ArcGIS Collector, there is the flexibility to work with secured services from ArcGIS Enterprise deployments. The secured feature services can be added to ArcGIS Online with the option to 'Store credentials' checked, or configured to prompt for credentials when opened on the mobile device.

When working with secured layers added as operational layers without storing credentials, ArcGIS Collector displays a warning, 'Secured layers. You need to sign in to access some of the layers in this map.'

Clicking 'View', opens the Layer List, where the Layer name is marked with a triangular warning sign, 'Sign in required'. Normally, a prompt to enter a username and password to authenticate access to the layer is displayed. However in some cases, the option may not be present.

ArcGIS Collector (iOS) does not return any error, however, ArcGIS Collector (Android) displays the error, 'java.security.cert.CertPathValidatorException: Trust anchor for certification path not found'.

The error in ArcGIS Collector (Android) when viewing a layer with a triangular warning

Ursache

The underlying issue is the SSL Settings on the Web Adaptor configured with the ArcGIS Server site. This setting can be enabled on Internet Information Services (IIS) Manager to require the client to be identified before gaining access to any resource.

Lösung oder Problemumgehung

  1. Identify the Web Adaptor machine name. Open ArcGIS Server Manager.
  2. Click the Site tab.
  3. Click the Web Adaptor tab and note the machine name from the list of adaptors.
Noting the machine name from the Web Adaptor tab in the Site tab
  1. Log in to the Web Adaptor machine for ArcGIS Server.
  2. Launch Internet Information Services (IIS) Manager and browse to the Web Adaptor name under the default website.
  3. Click SSL Settings and under Client certificates, change the setting to Ignore.  Apply the changes.
Client certificates set to Ignore in the SSL Settings

Artikel-ID:000023670

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln