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

WIP: Ability to use ssl_min_version and/or ssl_max_version instead of ssl_method #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

emiran-orange
Copy link

ssl_method param can only be used up to TLS 1.2 version in openssl (as stated in ruby/openssl#473 (comment)).

This PR introduces params ssl_min_version and ssl_max_version.

If neither of these is set, the current behaviour still stands and ssl_method param is used.
Otherwise, ssl_min_version and ssl_max_version are passed to ssl context.

@emiran-orange emiran-orange changed the title Ability to use ssl_min_version and/or ssl_max_version instead of ssl_method WIP: Ability to use ssl_min_version and/or ssl_max_version instead of ssl_method Feb 5, 2024
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.

1 participant