We are experiencing an issue where if a ArcGIS server is set to HTTPS only or HTTP and HTTPS only then we cannot "Execute Task" on the Export Web Map Task using a url with https. If we set the url to http is works fine. On a HTTP only ArcGIS server with works fine.
The error that we are getting is:
Unable to complete operation.
Error executing tool. Export Web Map Task : Layer "layer0": Unable to connect to map server at https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).
On the ArcGIS server itself we are getting this error in the logs:
SEVERE | Jan 3, 2018, 3:48:11 PM | Error executing tool. Export Web Map Task : Layer "layer0": Unable to connect to map server at https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task). | Utilities/PrintingTools.GPServer |
And this warning:
WARNING | Jan 3, 2018, 3:48:11 PM | The certificate authority is invalid or incorrect (WinINet ERROR_INTERNET_INVALID_CA, 12045), URL = https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer?f=json | Utilities/PrintingTools.GPServer |
Ideas on how to resolve this would be great.
I have tried many different scenarios including
Getting the proxy server from GitHub, and testing it to make sure that it works.
Changing the cert, updating the cert, importing a new cert.
Adding the cert to all locations on the window's side.
Netstat to check the ports, and the porta are opened.
I can access the url outside of export map, on the ArcGIS server.
In fiddler I get a 304 not modified. I can see that a token was generated, the token life in the header is set to 60 minutes, but on the server the lifespan is 1 year for all generated tokens.
I will take any suggestions I can. We also opened a ticket with ESRI and they are also looking into this.
Solved! Go to Solution.
Sounds like you need to add the root certificate to the machines Trusted Toot Certificate Authorities Store.
Try to configure the Intermediate Certificate in your ArcGIS Server or run a SSL Certificate Checker to verify that the certificate its ok.
Sounds like you need to add the root certificate to the machines Trusted Toot Certificate Authorities Store.
Thank you so much for these instructions Randall