End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::X509::Store#time=
store.time = time
ext/openssl/ossl_x509store.c
View on GitHub ↗
static VALUE
ossl_x509store_set_time(VALUE self, VALUE time)
{
rb_iv_set(self, "@time", time);
return time;
}
Sets the time to be used in the certificate verifications with the store. By default, if not specified, the current system time is used.
OpenSSL::X509::StoreContext#time= can be used to change the value for a single verification operation.
See also the man page X509_VERIFY_PARAM_set_time(3).