Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # from https://cipherli.st/
  2. # and https://raymii.org/s/tutorials/Strong_SSL_Security_On_Apache2.html
  3.  
  4. SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
  5. SSLProtocol All -SSLv2 -SSLv3
  6. SSLHonorCipherOrder On
  7. # Disable preloading HSTS for now. You can use the commented out header line that includes
  8. # the "preload" directive if you understand the implications.
  9. #Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
  10. Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains"
  11. Header always set X-Frame-Options DENY
  12. Header always set X-Content-Type-Options nosniff
  13. # Requires Apache >= 2.4
  14. SSLCompression off
  15. SSLSessionTickets Off
  16. SSLUseStapling on
  17. SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
  18.  
  19. SSLOpenSSLConfCmd DHParameters "/etc/ssl/certs/dhparam.pem"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement