Sha256: c5c3aea0293732aacc0c92529935cab0b7e67eb262f16bf50a1a8c526d32e9f7
Contents?: true
Size: 563 Bytes
Versions: 13
Compression:
Stored size: 563 Bytes
Contents
Generate a self-signed certificate: key = Ronin::Support::Crypto::Key::RSA.random cert = Ronin::Support::Crypto::Cert.generate( key: key, subject: { common_name: 'localhost', organization: 'Test Co..', organizational_unit: 'Test Dept', locality: 'Test City', state: 'XX', country: 'US' }, extensions: { 'subjectAltName' => 'DNS: localhost, IP: 127.0.0.1' } ) key.save('cert.key') cert.save('cert.pem')
Version data entries
13 entries across 13 versions & 1 rubygems