Azure / Azure/azure-libraries-for-java

[QUERY] HTTPS support for proxy in managers

Aperta
#1,164 7 commenti 0 reazioni 1 assegnatario Rivendicata da @weidongxu-microsoft Vedi su GitHub
Network
Lingua principale
Java
Stelle
97
Fork
102
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.