Sha256: 6aa8230e35dd4242f564815956cf8a9e547908acb1276888c72f6d5524692a47

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

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