Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
719B

  1. #
  2. # This file is managed by Salt! Do not edit by hand!
  3. #
  4. {% set data = {
  5. 'SSLCipherSuite': 'EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA',
  6. 'SSLCompression': 'Off',
  7. 'SSLProtocol': 'all -SSLv2 -SSLv3 -TLSv1',
  8. 'SSLHonorCipherOrder': 'On',
  9. 'SSLOptions': '+StrictRequire',
  10. } -%}
  11. {%- do data.update(salt['pillar.get']('apache:mod_ssl', {})) %}
  12. <IfModule mod_ssl.c>
  13. {%- for key, value in data.items() %}
  14. {%- if not key == 'manage_tls_defaults' %}
  15. {{ key }} {{ value }}
  16. {%- endif %}
  17. {%- endfor %}
  18. </IfModule>