vcsjones / AzureSignTool

SignTool Library and Azure Key Vault Support
MIT License
286 stars 90 forks source link

No option to use azuresigntool behind a proxy. #284

Open subratliku opened 1 week ago

subratliku commented 1 week ago

Is there a option to use this tool with a proxy server to reach to azure key vault. It is still not consuming the proxy set using the AzureSignTool.runtimeconfig.json

vcsjones commented 1 week ago

You should be able to use the HTTP_PROXY or HTTPS_PROXY environment variables as documented at https://learn.microsoft.com/en-us/dotnet/azure/sdk/configure-proxy?tabs=cmd#configure-using-environment-variables

Please let me know if that is not the case.

subratliku commented 5 days ago

@vcsjones, I have tried setting the proxy in the PowerShell, but still having the same issue. It is unable to connect to azure.net on 443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (codesign.vault.azure.net:443)) It is working when direct internet connection is available.