8 lines
318 B
Ruby
Executable file
8 lines
318 B
Ruby
Executable file
require './ssl.rb'
|
|
|
|
ssl_helper = SSL.new
|
|
cert, name, key = ssl_helper.generate_cert
|
|
signed_key = ssl_helper.self_sign_key(cert, name, key)
|
|
|
|
puts "you should now have a certificate.pem in the current working directory"
|
|
puts "you should now have a public_key.pem and a private_key.pem in the current working directory."
|