class CertMaker::Runner

Public Instance Methods

ca() click to toggle source

Checks for a CA, and generates it if needed.

# File lib/certmaker/runner.rb, line 10
def ca
  y = YAML.load_file('config.yml')
  CertMaker.make_ca y
end
certs() click to toggle source

Generate a suite of test certificates

# File lib/certmaker/runner.rb, line 16
def certs
  ca
  y = YAML.load_file('config.yml')
  CertMaker.make_certs y
end
clean() click to toggle source

Clean up by deleting the ‘certs’ directory.

# File lib/certmaker/runner.rb, line 23
def clean
  rm_r "certs"
end