method

create_cert_self_signed

ruby latest stable - Class: Gem::Security
create_cert_self_signed(subject, key, age = ONE_YEAR, extensions = EXTENSIONS, serial = 1)
public

Creates a self-signed certificate with an issuer and subject of subject and the given extensions for the key.