During the execution of a powershell script in my Jenkins pipeline I'm getting this error
ERROR: HTTPSConnectionPool(host='my.custom.domain', port=443): Max retries exceeded with url: /api/zipdeploy?isAsync=true (Caused by ...
and right after:
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
This is the command that causes it:
az webapp deployment source config-zip -g $resg -n $webapp --subscription $subscription --src my_release.zip
Note
The script have to deploy to an Azure node, it also logged successfully with `Login Azure Succeeded`
I am trying to print the certificate in order to see if the REQUEST_CA_BUNDLE
is setted up correctly.
I expect that the command az webapp deployment
to run without errors