Skip to content
Permalink
Browse files

Merge pull request #1946 from jnguiot/ssl_crl_check_flags2

MODULES-9083: remove double quotes to allow flags in SSLCARevocationCheck
  • Loading branch information...
sheenaajay committed Sep 11, 2019
2 parents a214c09 + d2bc046 commit 497fbd6ded0df23894be461e89086680205e74ac
Showing with 3 additions and 3 deletions.
  1. +2 −2 spec/acceptance/apache_ssl_spec.rb
  2. +1 −1 templates/vhost/_ssl.erb
@@ -50,7 +50,7 @@ class { 'apache':
ssl_ca => '/tmp/ssl_ca',
ssl_crl_path => '/tmp/ssl_crl_path',
ssl_crl => '/tmp/ssl_crl',
ssl_crl_check => 'chain',
ssl_crl_check => 'chain flag',
ssl_certs_dir => '/tmp',
ssl_protocol => 'test',
ssl_cipher => 'test',
@@ -83,7 +83,7 @@ class { 'apache':
it { is_expected.to contain 'SSLVerifyDepth test' }
it { is_expected.to contain 'SSLOptions test test1' }
if apache_hash['version'] == '2.4'
it { is_expected.to contain 'SSLCARevocationCheck "chain"' }
it { is_expected.to contain 'SSLCARevocationCheck chain flag' }
else
it { is_expected.not_to contain 'SSLCARevocationCheck' }
end
@@ -34,7 +34,7 @@
SSLVerifyDepth <%= @ssl_verify_depth %>
<%- end -%>
<%- if @ssl_crl_check && scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
SSLCARevocationCheck "<%= @ssl_crl_check %>"
SSLCARevocationCheck <%= @ssl_crl_check %>
<%- end -%>
<%- end -%>
<%- if @ssl_options -%>

0 comments on commit 497fbd6

Please sign in to comment.
You can’t perform that action at this time.