Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8396501
_ssl.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
_ssl.erb
View Options
<%
if
@ssl
-%>
## SSL directives
SSLEngine on
<%-
unless
@mdomain
-%>
SSLCertificateFile "
<%=
@ssl_cert
%>
"
SSLCertificateKeyFile "
<%=
@ssl_key
%>
"
<%-
end
-%>
<%-
if
@ssl_chain
-%>
SSLCertificateChainFile "
<%=
@ssl_chain
%>
"
<%-
end
-%>
<%-
if
@ssl_protocol
-%>
SSLProtocol
<%=
[
@ssl_protocol
].
flatten
.
compact
.
join
(
' '
)
%>
<%-
end
-%>
<%-
if
@ssl_cipher
-%>
SSLCipherSuite
<%=
@ssl_cipher
%>
<%-
end
-%>
<%-
if
not
@ssl_honorcipherorder
.
nil?
-%>
SSLHonorCipherOrder
<%=
scope
.
call_function
(
'apache::bool2httpd'
,
[
@_ssl_honorcipherorder
]
)
%>
<%-
end
-%>
<%-
if
@ssl_verify_client
-%>
SSLVerifyClient
<%=
@ssl_verify_client
%>
<%-
if
@ssl_verify_depth
-%>
SSLVerifyDepth
<%=
@ssl_verify_depth
%>
<%-
end
-%>
<%-
end
-%>
<%-
if
@ssl_certs_dir
&&
@ssl_certs_dir
!=
''
-%>
SSLCACertificatePath "
<%=
@ssl_certs_dir
%>
"
<%-
end
-%>
<%-
if
@ssl_ca
-%>
SSLCACertificateFile "
<%=
@ssl_ca
%>
"
<%-
end
-%>
<%-
if
@ssl_crl_path
-%>
SSLCARevocationPath "
<%=
@ssl_crl_path
%>
"
<%-
end
-%>
<%-
if
@ssl_crl
-%>
SSLCARevocationFile "
<%=
@ssl_crl
%>
"
<%-
end
-%>
<%-
if
@ssl_crl_check
&&
scope
.
function_versioncmp
(
[
@apache_version
,
'2.4'
]
)
>=
0
-%>
SSLCARevocationCheck
<%=
@ssl_crl_check
%>
<%-
end
-%>
<%-
if
@ssl_options
-%>
SSLOptions
<%=
Array
(
@ssl_options
)
.
join
(
' '
)
%>
<%-
end
-%>
<%-
if
@ssl_openssl_conf_cmd
-%>
SSLOpenSSLConfCmd
<%=
@ssl_openssl_conf_cmd
%>
<%-
end
-%>
<%-
if
(
not
@ssl_stapling
.
nil?
)
&&
(
scope
.
function_versioncmp
(
[
@apache_version
,
'2.4'
]
)
>=
0
)
-%>
SSLUseStapling
<%=
scope
.
call_function
(
'apache::bool2httpd'
,
[
@ssl_stapling
]
)
%>
<%-
end
-%>
<%-
if
@ssl_stapling_timeout
&&
scope
.
function_versioncmp
(
[
@apache_version
,
'2.4'
]
)
>=
0
-%>
SSLStaplingResponderTimeout
<%=
@ssl_stapling_timeout
%>
<%-
end
-%>
<%-
if
(
not
@ssl_stapling_return_errors
.
nil?
)
&&
(
scope
.
function_versioncmp
(
[
@apache_version
,
'2.4'
]
)
>=
0
)
-%>
SSLStaplingReturnResponderErrors
<%=
scope
.
call_function
(
'apache::bool2httpd'
,
[
@ssl_stapling_return_errors
]
)
%>
<%-
end
-%>
<%-
if
@ssl_user_name
-%>
SSLUserName
<%=
@ssl_user_name
%>
<%-
end
-%>
<%
end
-%>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:54 PM (13 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399438
Attached To
rSPAPA puppet-puppetlabs-apache
Event Timeline
Log In to Comment