]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/apache/templates/vhost/_ssl.erb
add Openstack modules to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / apache / templates / vhost / _ssl.erb
1 <% if @ssl -%>
2
3   ## SSL directives
4   SSLEngine on
5   SSLCertificateFile      "<%= @ssl_cert %>"
6   SSLCertificateKeyFile   "<%= @ssl_key %>"
7   <%- if @ssl_chain -%>
8   SSLCertificateChainFile "<%= @ssl_chain %>"
9   <%- end -%>
10   <%- if @ssl_certs_dir && @ssl_certs_dir != '' -%>
11   SSLCACertificatePath    "<%= @ssl_certs_dir %>"
12   <%- end -%>
13   <%- if @ssl_ca -%>
14   SSLCACertificateFile    "<%= @ssl_ca %>"
15   <%- end -%>
16   <%- if @ssl_crl_path -%>
17   SSLCARevocationPath     "<%= @ssl_crl_path %>"
18   <%- end -%>
19   <%- if @ssl_crl -%>
20   SSLCARevocationFile     "<%= @ssl_crl %>"
21   <%- end -%>
22   <%- if @ssl_crl_check && scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
23   SSLCARevocationCheck    "<%= @ssl_crl_check %>"
24   <%- end -%>
25   <%- if @ssl_proxyengine -%>
26   SSLProxyEngine On
27   <%- end -%>
28   <%- if @ssl_protocol -%>
29   SSLProtocol             <%= @ssl_protocol %>
30   <%- end -%>
31   <%- if @ssl_cipher -%>
32   SSLCipherSuite          <%= @ssl_cipher %>
33   <%- end -%>
34   <%- if @ssl_honorcipherorder -%>
35   SSLHonorCipherOrder     <%= @ssl_honorcipherorder %>
36   <%- end -%>
37   <%- if @ssl_verify_client -%>
38   SSLVerifyClient         <%= @ssl_verify_client %>
39   <%- end -%>
40   <%- if @ssl_verify_depth -%>
41   SSLVerifyDepth          <%= @ssl_verify_depth %>
42   <%- end -%>
43   <%- if @ssl_options -%>
44   SSLOptions <%= Array(@ssl_options).join(' ') %>
45   <%- end -%>
46 <% end -%>