Commit 96611d1

mo <mo@mokhan.ca>
2017-11-30 23:38:59
group file and env formats.
1 parent b821394
exe/saml-kit-create-self-signed-certificate
@@ -4,21 +4,17 @@ require 'saml/kit'
 password = STDIN.read.strip
 certificate, private_key = Saml::Kit::SelfSignedCertificate.new(password).create
 
-puts
-puts "Certificate:"
-puts "** File Format:"
+puts "** BEGIN File Format **"
 print certificate
-
-puts "** ENV Format:"
-puts certificate.inspect
+puts private_key
+puts "***********************"
 
 puts
-puts "Private Key:"
-puts "** File Format:"
-puts private_key
 
-puts "** ENV Format:"
+puts "*** BEGIN ENV Format **"
+puts certificate.inspect
 puts private_key.inspect
+puts "***********************"
 
 puts
 puts "Private Key Password:"