I'm wondering whether SSLSocketFactory provides out of the box support for network proxies as documented here:
https://docs.oracle.com/javase/8/docs/api/java/net/doc-files/net-properties.html#Proxies
i.e. is communication through sockets created with sslSocketFactory.createSocket()... supposed to be proxied as expected?
My local tests show that this is not the case but before digging deeper I wanted to clarify whether support exists in the first place.
This answer says
java.net.Proxy, or thehttps.proxyHost/proxyPort properties, only support HTTP proxying viaHttpURLConnection, not via aSocket.The answer seems to be NO!