@Rich Matheisen
Basis the error, failure seems to be happening while executing attached141052-admin-script-formatted-test.txt code on remote machine from script. (first if segment "Hitting URL $downloadLinkAH"
Regarding proxy, yes all client machine are using proxy as per system setting for web access (System Setting -> Proxy -> Automatics Proxy Setup) and while checking winHTTP proxy setting, i see proxy setting is set.
Regarding proxy, while hitting the URL from cURL -> Does it use proxy setting configured on system by default while hitting URL ? or that has to be coded specifically as you mentioned with -x ? However for CRL check, direct reachability is also in place from client machine to CRL server, i mean proxy is not mandate.
Regarding adding proxy (in case it needed to be mentioned specifically, as well about "--ssl" parameter in script) -> the script is not pre defined on client machine, when the Cisco applicate initiate posture, the script is pushed on remote client machine from appliance as per the ongoing session and it get execute, hence i don't have option to modify the script on appliance so that those specific (proxy, --ssl parameters) can be used while executing url.
If proxy and "--ssl" parameters to be used in url hit, is there any other way where proxy or -ssl parameter can be setup on client machine as persistence setting, to use same setting whenever url query is hit from curl utility ?