AnsweredAssumed Answered

ArcGIS Portal- Sample script: Update the URL of a service in a web map. SSL Error

Question asked by NZGeoCAD on Jan 30, 2017
Latest reply on Feb 1, 2017 by JQuinn-esristaff

I'm trying to update webmaps within our Portal by using the script here: Example: Update the URL of a service in a web map—Portal for ArcGIS (10.4.1) | ArcGIS Enterprise 


The script is failing with "IOError : [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590).


We run portal in a disconnected environment so don't use SSL certificates signed by an external authority, however there are no SSL errors when accessing Portal as far as I can tell. Does anyone have any ideas on how to

a) Fix this issue (or ways to check that the SSL cert is the error?)

b) Bypass the SSL check either via the script ( or through the server (i.e. allow non https)


Or anything else to help! 

Thanks in advance