Behind a corporate proxy

I found it!
When I prefix the value of HTTP_PROXY and HTTPS_PROXY with http:// then the proxy settings work as expected. I’m just wondering why other applications (eg aws cli and curl) don’t need this protocol prefix.

Now I’m one step further… next error is: unable to get local issuer certificate (because the proxy does ssl inspection)

Other users seem to have the same problem, but no solution yet: