Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem::Security.create_cert_email

create_cert_email(email, key, age = ONE_YEAR, extensions = EXTENSIONS)

Creates a self-signed certificate with an issuer and subject from email, a subject alternative name of email and the given extensions for the key.