We recently updated the SSL certificate for our single-machine base deployment of ArcGIS Enterprise 11.1. With my organizational user account, I can sign-in and access the Portal via a Python script from both my laptop, and logged onto the server.
However, whenever I am logged onto the Windows server with a service account (headless user), I get the following error when signing-in to the Portal. Note, the same script is run. The only difference is whom is logged into the server.
Does anyone have any ideas what might be causing this issue?
2024-12-16 18:00:22,869 - signing into Portal…
2024-12-16 18:00:25,237 - Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))': /portal/sharing/rest/info?f=json
2024-12-16 18:00:31,236 - Failed at Line 40
2024-12-16 18:00:31,236 - Error: Please set verify_cert=False due to encountered SSL error: HTTPSConnectionPool(host='gis.health.pa.gov', port=443): Max retries exceeded with url: /portal/sharing/rest/info?f=json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))