28
|
1 |
<IfModule mod_ssl.c>
|
|
2 |
SSLRandomSeed startup builtin
|
|
3 |
SSLRandomSeed startup file:/dev/urandom <%= @ssl_random_seed_bytes %>
|
|
4 |
SSLRandomSeed connect builtin
|
|
5 |
SSLRandomSeed connect file:/dev/urandom <%= @ssl_random_seed_bytes %>
|
|
6 |
|
|
7 |
AddType application/x-x509-ca-cert .crt
|
|
8 |
AddType application/x-pkcs7-crl .crl
|
|
9 |
|
|
10 |
SSLPassPhraseDialog <%= @ssl_pass_phrase_dialog %>
|
|
11 |
SSLSessionCache "shmcb:<%= @session_cache %>"
|
|
12 |
SSLSessionCacheTimeout <%= @ssl_sessioncachetimeout %>
|
|
13 |
<% if @ssl_compression -%>
|
|
14 |
SSLCompression On
|
|
15 |
<% end -%>
|
|
16 |
<%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
|
|
17 |
Mutex <%= @ssl_mutex %>
|
|
18 |
<%- else -%>
|
|
19 |
SSLMutex <%= @ssl_mutex %>
|
|
20 |
<%- end -%>
|
|
21 |
SSLCryptoDevice <%= @ssl_cryptodevice %>
|
|
22 |
SSLHonorCipherOrder <%= @ssl_honorcipherorder %>
|
|
23 |
SSLCipherSuite <%= @ssl_cipher %>
|
|
24 |
SSLProtocol <%= @ssl_protocol.compact.join(' ') %>
|
|
25 |
<% if @ssl_options -%>
|
|
26 |
SSLOptions <%= @ssl_options.compact.join(' ') %>
|
|
27 |
<% end -%>
|
|
28 |
<%- if @ssl_openssl_conf_cmd -%>
|
|
29 |
SSLOpenSSLConfCmd <%= @ssl_openssl_conf_cmd %>
|
|
30 |
<%- end -%>
|
|
31 |
</IfModule>
|