Skip to content
instance method

OpenSSL::X509::Store#flags=

(::Integer flags) -> ::Integer
store.flags = flags

Sets the default flags used by certificate chain verification performed with the Store.

flags consists of zero or more of the constants defined in OpenSSL::X509 with name V_FLAG_* or’ed together.

OpenSSL::X509::StoreContext#flags= can be used to change the flags for a single verification operation.

See also the man page X509_VERIFY_PARAM_set_flags(3).

See also #add_path #purpose= #add_file #set_default_paths also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0