Sha256: f313198d70476c6205f413893cde4c1b69d2000bf3c369745ce1c93140cb7805

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

module Apache
  module SSL
    def enable_ssl_engine(options = {})
      self << ""
      self << "SSLEngine on"
      options.each do |key, value|
        value = quoteize(value).first
        case key
          when :certificate_file, :certificate_key_file
            self << "SSL#{apachify(key)} #{value}"
          when :ca_certificate_file
            self << "SSLCACertificateFile #{value}"
        end
      end
      self << ""
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apache-config-generator-0.2 lib/apache/ssl.rb