Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ssl.cipher.suites configurable for TLS1.3 #4643

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Emeraude
Copy link

As of now, it is not possible to setup cipher suites for TLS1.3, as the OpenSSL API uses a different function for those (TLS1.3 ciphers use SSL_CTX_set_ciphersuites while TLS1.2 ciphers use SSL_CTX_set_cipher_list), which means only TLS1.2 ciphers can be configured.

This PR fix this behaviour by discriminating the ciphers set in ssl.cipher.suites and calling the right function accordingly.

Unlike #4336, this PR doesn't propose any changes to the configuration settings, but rather sort the given ciphers into two lists, one for TLS1.2 ciphers and another one for TLS1.3 ciphers.
This behaviour is also more consistent with the broker configuration.

This also solves discussion #4286.

Copy link

cla-assistant bot commented Mar 12, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant