Skip to content
Snippets Groups Projects
Unverified Commit e2462b2c authored by alxwr's avatar alxwr Committed by GitHub
Browse files

Merge pull request #245 from netmanagers/master

Add OCSP Stapling configuration capabilities to Debian
parents 4af4ff59 06b1606f
Branches
No related tags found
No related merge requests found
#
# This file is managed by Salt! Do not edit by hand!
#
<IfModule mod_ssl.c> <IfModule mod_ssl.c>
# Pseudo Random Number Generator (PRNG): # Pseudo Random Number Generator (PRNG):
...@@ -81,6 +84,18 @@ ...@@ -81,6 +84,18 @@
# Default: Off # Default: Off
#SSLStrictSNIVHostCheck On #SSLStrictSNIVHostCheck On
{% set use_stapling = salt['pillar.get']('apache:ssl:SSLUseStapling', 'Off') %}
{% if use_stapling == 'On' %}
# Stapling configuration
# Default: Off
#
# See https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html for more details
# Defaults values taken from https://mozilla.github.io/server-side-tls/ssl-config-generator/
SSLUseStapling {{ use_stapling }}
SSLStaplingResponderTimeout {{ salt['pillar.get']('SSLStaplingResponderTimeout', '5') }}
SSLStaplingReturnResponderErrors {{ salt['pillar.get']('SSLStaplingReturnResponderErrors', 'Off') }}
SSLStaplingCache {{ salt['pillar.get']('SSLStaplingCache', 'shmcb:/var/run/ocsp(128000)') }}
{% endif %}
</IfModule> </IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
...@@ -311,6 +311,10 @@ apache: ...@@ -311,6 +311,10 @@ apache:
SSLCipherSuite: 'HIGH:!aNULL' SSLCipherSuite: 'HIGH:!aNULL'
SSLHonorCipherOrder: 'Off' SSLHonorCipherOrder: 'Off'
SSLProtocol: 'all -SSLv3' SSLProtocol: 'all -SSLv3'
SSLUseStapling: 'Off'
SSLStaplingResponderTimeout: '5'
SSLStaplingReturnResponderErrors: 'Off'
SSLStaplingCache: 'shmcb:/var/run/ocsp(128000)'
# ``apache.mod_remoteip`` formula additional configuration: # ``apache.mod_remoteip`` formula additional configuration:
mod_remoteip: mod_remoteip:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment