diff --git a/templates/vhost/_ssl.erb b/templates/vhost/_ssl.erb index 89a264d50f..4fed7b9e19 100644 --- a/templates/vhost/_ssl.erb +++ b/templates/vhost/_ssl.erb @@ -13,7 +13,11 @@ SSLProtocol <%= [@ssl_protocol].flatten.compact.join(' ') %> <%- end -%> <%- if @ssl_cipher -%> + <%- if @ssl_cipher.kind_of?(String) -%> SSLCipherSuite <%= @ssl_cipher %> + <%- else -%> + SSLCipherSuite <%= @ssl_cipher.flatten.compact.join(':') %> + <%- end -%> <%- end -%> <%- if not @ssl_honorcipherorder.nil? -%> SSLHonorCipherOrder <%= scope.call_function('apache::bool2httpd', [@_ssl_honorcipherorder]) %>