PROBLEM
When adding a secure ArcGIS Server web service as an item to Portal for ArcGIS, the option to store credentials with the item is not available. This prevents client applications from consuming a web map using the web service without an initial authentication process with the parent ArcGIS Server site. It also hampers the ease of use of these web maps and web services.
The following error message may be returned in the Portal for ArcGIS log files:
Error: Invalid SSL certificate found. PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
The SSL certificates on the reverse proxy machine hosting the ArcGIS Server web adaptor are untrusted by Portal for ArcGIS.
Portal for ArcGIS uses the checkUrl.jsp utility to determine if it can make outbound requests to the service. If an error occurs during this execution, the option to store credentials is not presented.
Import the full chain of certificates on the reverse proxy machine hosting the ArcGIS Server web adaptor into the Portal for ArcGIS trusted keystore.
The option to store credentials is presented when adding a secure ArcGIS Server web service as an item to Portal for ArcGIS.
Article ID: 000023376
Get help from ArcGIS experts
Download the Esri Support App