Actions
Feature #18418
openAdd Net::HTTP#security_level=
Status:
Open
Assignee:
-
Target version:
-
Description
Use Case:¶
I want to connect to an HTTP(S) server (using Net::HTTP
) that cannot connect with security level1 2 and needs to specify security level 1.
My server is a newer debian (docker image ruby:3.0.3
, based on debian bullseye) and I need to change the configuration in /etc/ssl/openssl.cnf
to do the above.
And I really don't want to do that, because it affects other SSL communication between my server and other servers.
So it would be nice if there is a Net::HTTP#security_level=
that can change the OpenSSL::SSL::SSLContext
instance, just like we already have Net::HTTP#max_version=
.
Note that similar information has been posted2 to the mailing list in the past.
Files
No data to display
Actions
Like0