view modules/apache/templates/mod/ssl.conf.erb @ 0:956e484adc12

Initial public release of Puppet configs
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Aug 2014 19:47:38 +0000
parents
children 37675581a273
line wrap: on
line source

<IfModule mod_ssl.c>
  SSLRandomSeed startup builtin
  SSLRandomSeed startup file:/dev/urandom 512
  SSLRandomSeed connect builtin
  SSLRandomSeed connect file:/dev/urandom 512

  AddType application/x-x509-ca-cert .crt
  AddType application/x-pkcs7-crl    .crl

  SSLPassPhraseDialog  builtin
  SSLSessionCache "shmcb:<%= @session_cache %>"
  SSLSessionCacheTimeout 300
<% if @ssl_compression -%>
  SSLCompression On
<% end -%>
  <% if @apache_version >= '2.4' -%>
  Mutex <%= @ssl_mutex %>
  <% else -%>
  SSLMutex <%= @ssl_mutex %>
  <% end -%>
  SSLCryptoDevice builtin
  SSLHonorCipherOrder On
  SSLCipherSuite <%= @ssl_cipher %>
  SSLProtocol all -SSLv2
<% if @ssl_options -%>
  SSLOptions <%= @ssl_options.compact.join(' ') %>
<% end -%>
</IfModule>