Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

OpenSSL::X509::StoreContext#error=

stctx.error = error_code

Sets the error code of stctx. This is used by the verification callback set to OpenSSL::X509::Store#verify_callback=.

See also the man page X509_STORE_CTX_set_error(3).

See also #error #error_depth #current_crl #error_string also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0