ok2c commented on issue #194: Switched to TLSv1.2 as default protocol if none 
provided
URL: 
https://github.com/apache/httpcomponents-core/pull/194#issuecomment-602186787
 
 
   @Hakky54 Please note a better way of controlling the TLS protocol versions 
advertised as supported is through `SSLParameters` during the initial TLS 
handshake phase.
   
   HttpCore applies this strategy to all HTTP connections by default 
   ```
   public final class DefaultTlsSetupHandler implements Callback<SSLParameters> 
{
   
       @Override
       public void execute(final SSLParameters sslParameters) {
           
sslParameters.setProtocols(TLS.excludeWeak(sslParameters.getProtocols()));
           
sslParameters.setCipherSuites(TlsCiphers.excludeWeak(sslParameters.getCipherSuites()));
       }
   
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to