Skip to content

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

instance method

OpenSSL::X509::ExtensionFactory#create_ext

ef.create_ext(ln_or_sn, "value", critical = false) → X509::Extension
ef.create_ext(ln_or_sn, "critical,value") → X509::Extension

Creates a new X509::Extension with passed values. See also x509v3_config(5).

See also .new #create_extension #create_ext_from_array also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0