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:
And this warning:
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.