Sha256: fa1c9e7990502022804408976b11d0c10ed7dfbd3d8eb6e423bff6f6b8067a15
Contents?: true
Size: 600 Bytes
Versions: 6
Compression:
Stored size: 600 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'saml/kit' Saml::Kit.deprecate("Use the 'saml-kit-cli' gem instead. saml-kit-create-self-signed-certificate") puts 'Enter Passphrase:' passphrase = STDIN.read.strip certificate, private_key = ::Xml::Kit::SelfSignedCertificate.new.create(passphrase: passphrase) puts '** BEGIN File Format **' print certificate puts private_key puts '***********************' puts puts '*** BEGIN ENV Format **' puts certificate.inspect puts private_key.inspect puts '***********************' puts puts 'Private Key Passphrase:' puts passphrase.inspect
Version data entries
6 entries across 6 versions & 1 rubygems