Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. 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.3 · 3.2 · 3.1