dev/provisioning/modules/apache/templates/mod/ssl.conf.erb
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 09:46:03 +0200
changeset 263 3deace9204de
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)

<IfModule mod_ssl.c>
  SSLRandomSeed startup builtin
  SSLRandomSeed startup file:/dev/urandom <%= @ssl_random_seed_bytes %>
  SSLRandomSeed connect builtin
  SSLRandomSeed connect file:/dev/urandom <%= @ssl_random_seed_bytes %>

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

  SSLPassPhraseDialog <%= @ssl_pass_phrase_dialog %>
  SSLSessionCache "shmcb:<%= @session_cache %>"
  SSLSessionCacheTimeout <%= @ssl_sessioncachetimeout %>
<% if @ssl_compression -%>
  SSLCompression On
<% end -%>
  <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
  Mutex <%= @ssl_mutex %>
  <%- else -%>
  SSLMutex <%= @ssl_mutex %>
  <%- end -%>
  SSLCryptoDevice <%= @ssl_cryptodevice %>
  SSLHonorCipherOrder <%= @ssl_honorcipherorder %>
  SSLCipherSuite <%= @ssl_cipher %>
  SSLProtocol <%= @ssl_protocol.compact.join(' ') %>
<% if @ssl_options -%>
  SSLOptions <%= @ssl_options.compact.join(' ') %>
<% end -%>
<%- if @ssl_openssl_conf_cmd -%>
  SSLOpenSSLConfCmd <%= @ssl_openssl_conf_cmd %>
<%- end -%>
</IfModule>