]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
start to push some common SSL options to the webservers. they can be included if...
authorMartin Zobel-Helas <zobel@debian.org>
Thu, 15 Mar 2012 19:23:14 +0000 (20:23 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 16 Mar 2012 08:09:47 +0000 (09:09 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/apache2/files/common/etc/apache2/sites-available/common-ssl.inc [new file with mode: 0644]

diff --git a/modules/apache2/files/common/etc/apache2/sites-available/common-ssl.inc b/modules/apache2/files/common/etc/apache2/sites-available/common-ssl.inc
new file mode 100644 (file)
index 0000000..2021ab4
--- /dev/null
@@ -0,0 +1,30 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
+
+#   SSL Engine Switch:
+#   Enable/Disable SSL for this virtual host.
+SSLEngine on
+
+#   SSL Protocol support:
+#   List the protocol versions which clients are allowed to
+#   connect with. Disable SSLv2 by default (cf. RFC 6176).
+SSLProtocol all -SSLv2
+
+#
+#   Some MIME-types for downloading Certificates and CRLs
+#   
+AddType application/x-x509-ca-cert .crt
+AddType application/x-pkcs7-crl    .crl
+
+#   SSL Cipher Suite:
+#   List the ciphers that the client is permitted to negotiate.
+#   See the mod_ssl documentation for a complete list.
+SSLCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM
+SSLHonorCipherOrder on
+
+#   Add STS
+Header add Strict-Transport-Security "max-age=604800"
+