summaryrefslogtreecommitdiff
path: root/apache2/mods-available/ssl.conf.diff
blob: ec349f385d01719fc1e54553a309e9cca260474d (plain)
  1. --- ssl.conf.orig
  2. +++ ssl.conf
  3. @@ -56,7 +56,8 @@
  4.     # ciphers(1) man page from the openssl package for list of all available
  5. # options.
  6. # Enable only secure ciphers:
  7. - SSLCipherSuite HIGH:!aNULL
  8. + # More info: <https://scotthelme.co.uk/https-cheat-sheet/>
  9. + SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
  10. # SSL server cipher order preference:
  11. # Use server priorities for cipher algorithm choice.
  12. @@ -65,12 +66,12 @@
  13. # the CPU cost, and did not override SSLCipherSuite in a way that puts
  14. # insecure ciphers first.
  15. # Default: Off
  16. - #SSLHonorCipherOrder on
  17. + SSLHonorCipherOrder on
  18. # The protocols to enable.
  19. - # Available values: all, SSLv3, TLSv1, TLSv1.1, TLSv1.2
  20. + # Available values: all, SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
  21. # SSL v2 is no longer supported
  22. - SSLProtocol all -SSLv3
  23. + SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
  24. # Allow insecure renegotiation with clients which do not yet support the
  25. # secure renegotiation protocol. Default: Off
  26. @@ -80,6 +81,9 @@
  27. # Default: Off
  28. #SSLStrictSNIVHostCheck On
  29. + SSLUseStapling On
  30. + SSLStaplingCache "shmcb:${APACHE_RUN_DIR}/ssl_stapling(32768)"
  31. +
  32. </IfModule>
  33. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet