错误

错误:“java.security.cert.CertPathValidatorException:未找到证书路径的信任密钥”

Last Published: August 23, 2024

错误消息

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

原因

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.

解决方案或解决方法

  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

文章 ID: 000023670

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项