NEXUS-5526, a change was made to allow javax.net.* system properties to be set on the HTTP Client embedded within Nexus.
We have since regressed back to not allowing this:
And the attempt to backout changes did not restore use of the System connection factory method:
In Nexus 2.8.0-05 we started including httpclient 4.3.x into Nexus. httpclient 4.3.x system SSLSocketFactory started honouring https.protocols and https.ciphersuites - however in 2.8 our regression prevents setting protocols and ciphers on outbound connections from being an option for end users.
So two problems:
- it seems we have regressed honouring system properties that influence the outbound http connections
- we don't expose a way to set https protocols and ciphers preferences on Nexus outbound connections ( https.protocols / https.ciphersuites )
- make Nexus use the system socket factories provided by http client, so that standard javax.net system properties can influence outbound connections