Error Message
When adding an external service URL to Portal for ArcGIS Map Viewer, the following error message is returned:
Error:
The URL you provided is incorrect.
Cause
- An incorrect URL is provided.
- The item service URL is obtained from a deprecated ArcGIS Server version.
- SSL decryption is set up for security purposes. When accessing external service URLs, the security system intercepts the request and replaces the certificate with an internal certificate. Since the certificate is internal, Esri software does not have it in its trust store, making it untrusted.
- The error is returned due to BUG-000158980, which affects ArcGIS Enterprise version 11.1 and earlier.
Solution or Workaround
Provide the correct URL
Provide the correct service URL in the URL box. Refer to Portal for ArcGIS: Add a service or document from a URL for more information.
Republish the service to the latest ArcGIS Server version
To add the item in Portal for ArcGIS Map Viewer, republish the service to the latest ArcGIS Server version.
- Upgrade ArcGIS Server. Refer to ArcGIS Enterprise: Upgrade ArcGIS Server for instructions.
- Publish the service to the upgraded ArcGIS Server version. Refer to ArcGIS Server: Publish services using Server Manager or ArcGIS Server: Service publishing in ArcGIS Pro for instructions and more information.
Export the internal certificates and import them to the Portal Administrator Directory
Export the internal certificates, which include the root and intermediate certificates, and import them to the Portal Administrator Directory.
- Open the service URL in a web browser.
- Export the root and intermediate certificates of the internal Certificate Authority (CA).
- On the left of the URL address, click the View site information icon and select Connection is secure. The Connection is secure pop-up window is opened.
- Click the Show certificate (issued by <Ceritficate Authority name>) icon.
- In the Certificate Viewer: <website name> window, click the Details tab.
- Under Certificate Hierarchy, select the root certificate, located at the top of the certificate hierarchy, and click Export....
- In the Save As window, click Save.
- Repeat Steps 2a through 2e to export the intermediate certificates. For Step 2d, select the intermediate certificates.
- Import the certificate to the Portal Administrator Directory. For instructions, refer to the Import the certificate to the Primary Portal section in How To: Import an SSL certificate to a highly available environment.
Install the Portal for ArcGIS Application Display Patch
To install the Portal for ArcGIS Application Display Patch, refer to Patches and Updates: Portal for ArcGIS Application Display Patch.
Note:
The bug is first addressed through the Portal for ArcGIS 11.1 Sharing Patch, which is now obsolete and replaced by the Portal for ArcGIS Application Display Patch.