Azure / Azure/azure-libraries-for-java

[QUERY] HTTPS support for proxy in managers

Open
#1,164 7 comments 0 reactions 1 assignee Claimed by @weidongxu-microsoft View on GitHub
Network
Dominant language
Java
Stars
97
Forks
102
PR merge metrics
No merged PRs in 30d

Description

com.microsoft.azure.management.network.implementation.NetworkManager can be configured for use through proxy. The proxy type is set up by java.net.Proxy's Type enum which doesn't contain HTTPS. Using HTTP type makes the request go unencrypted and rejected by HTTPS proxy.

`NetworkManager azureNetworkMgr = NetworkManager.configure().withProxy(new Proxy(Proxy.Type.HTTP, address)).authenticate(auth, config.getSubscriptionId());
`

Is HTTPS supported at all? And if yes, what is the way to set up managers to use it?

Setup information:
- OS: iOS
- IDE : IntelliJ
- Version of the Library used 1.24.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.