method
set_params
v2_4_6 -
Show latest stable
- Class:
OpenSSL::SSL::SSLContext
set_params(params={})public
Sets saner defaults optimized for the use with HTTP-like protocols.
If a Hash params is given, the parameters are overridden with it. The keys in params must be assignment methods on SSLContext.
If the verify_mode is not VERIFY_NONE and ca_file, ca_path and cert_store are not set then the system default certificate store is used.