Skip to content
instance method

OpenSSL::X509::Store#trust=

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

Sets the default trust settings used by the certificate verification with the store.

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

See also the man page X509_VERIFY_PARAM_set_trust(3).