Sha256: c6a1fc18989eb5efb669b3608d4f8981213089da8165fe73de4993e212bbcec0
Contents?: true
Size: 741 Bytes
Versions: 17
Compression:
Stored size: 741 Bytes
Contents
require 'rake_factory' require 'ruby_easy_rsa' require_relative '../../mixins/global_parameters' require_relative '../../mixins/ssl_parameters' require_relative '../../mixins/easy_rsa_ensure_prerequisite' module RakeEasyRSA module Tasks module DH class Generate < RakeFactory::Task include Mixins::GlobalParameters include Mixins::SSLParameters include Mixins::EasyRSAEnsurePrerequisite default_name :generate default_description( "Generate Diffie-Hellman parameters for the PKI") action do |t| puts "Generating Diffie-Hellman parameters... " RubyEasyRSA.gen_dh(t.parameter_values) puts "Done." end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems