9 lines
318 B
Ruby
9 lines
318 B
Ruby
![]() |
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."
|