Sha256: d925cc553d3b3f09742459c715ccf85a5d298cd65b6cb6c7d5d80e37c3801d44
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
require 'rake_factory' require 'ruby_easy_rsa' require_relative '../../mixins/global_parameters' require_relative '../../mixins/ssl_parameters' require_relative '../../mixins/algorithm_parameters' require_relative '../../mixins/encrypt_key_parameters' module RakeEasyRSA module Tasks module CA class Create < RakeFactory::Task include Mixins::GlobalParameters include Mixins::SSLParameters include Mixins::AlgorithmParameters include Mixins::EncryptKeyParameters default_name :create default_description "Create the CA certificate for the PKI" action do |t| puts "Creating CA certificate... " RubyEasyRSA.build_ca(t.parameter_values) puts "Done." end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rake_easy_rsa-0.2.0.pre.8 | lib/rake_easy_rsa/tasks/ca/create.rb |
rake_easy_rsa-0.2.0.pre.7 | lib/rake_easy_rsa/tasks/ca/create.rb |