Skip to content

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

Open
emiran-orange wants to merge 3 commits intoreproio:masterfrom
emiran-orange:min_max_version
Open

WIP: Ability to use ssl_min_version and/or ssl_max_version instead of ssl_method#6
emiran-orange wants to merge 3 commits intoreproio:masterfrom
emiran-orange:min_max_version

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