Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
OpenSSL::X509::Store#trust=
(::Integer trust) -> ::Integer
store.trust = trust
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509store_set_trust(VALUE self, VALUE trust)
{
X509_STORE *store;
int t = NUM2INT(trust);
GetX509Store(self, store);
X509_STORE_set_trust(store, t);
return 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).
See also
#time=
#verify
#set_default_paths
#verify_callback=
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0