Commit 627a4245 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Make cert_key_file and cert_chain_file optional in apache recipe

parent 9f7a42ee
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email 'hpc@gsi.de'
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.2.2'
version '2.2.3'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
......@@ -27,8 +27,12 @@
<% if @params[:use_tls] -%>
SSLEngine On
SSLCertificateFile <%= @params[:cert_file] %>
<% if @params[:cert_key_file] -%>
SSLCertificateKeyFile <%= @params[:cert_key_file] %>
<% end -%>
<% if @params[:cert_chain_file] -%>
SSLCertificateChainFile <%= @params[:cert_chain_file] %>
<% end -%>
<% end -%>
# Performance hack to prevent issues with old IE browsers.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment