omniCoder77 opened a new pull request, #4499:
URL: https://github.com/apache/cassandra/pull/4499

   Fixes: 
[CASSANDRA-21007](https://issues.apache.org/jira/browse/CASSANDRA-21007)
   
   ## Problem
   `cassandra-stress` can not connect to tls 1.3 servers with the current 
default cipher suites (TLS_RSA_WITH_AES_128_CBC_SHA and 
TLS_RSA_WITH_AES_256_CBC_SHA) because they don't have perfect forward secrecy, 
which tls 1.3 needs.
   
   ## What i changed
   I updated the default cipher suites in the ssl-ciphers option to use modern 
ones that support PFS:
   Old ciphers:
   - `TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA`
   New ciphers:
   - 
`TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`
   
   ## Why This Helps
   * Fixes the tls 1.3 connection issue
   * Adds perfect forward secrecy using ecdhe
   * Switches from cbc to gcm which is more secure
   * Still works with tls 1.2 servers
   
   This is my first open source contribution, kindly let me know if i need to 
change anything or if there is any issue with my approach.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to