Sha256: aae7db30ae8b0d3f8aa8e2de41fe78046f5b3e95284efcd7a61538290c7ed101

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

#!/usr/bin/ruby
if ARGV[0]
  `openssl req -x509 -new -newkey rsa:4096 -sha256 -days 1000 -nodes -out #{ARGV[0]}.crt -keyout #{ARGV[0]}.key`
else
  puts 'No filename provided!'
  puts "Usage: protonbot-cert <filename>"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
protonbot-0.3.7 exe/protonbot-gencert
protonbot-0.3.6 exe/protonbot-gencert
protonbot-0.3.5 exe/protonbot-gencert
protonbot-0.3.4 exe/protonbot-gencert