Skip to content

Instantly share code, notes, and snippets.

@lxmmxl56
Created July 22, 2019 03:28
Show Gist options
  • Save lxmmxl56/70b3ae64222516a66a35bc14aae75279 to your computer and use it in GitHub Desktop.
Save lxmmxl56/70b3ae64222516a66a35bc14aae75279 to your computer and use it in GitHub Desktop.
SSL Security - Use the following SSL security headers in your Apache vhost conf file to secure a site. Test your site's SSL headers at the following link: https://www.ssllabs.com/ssltest/analyze.html?d=[www.mysite.com]&latest
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3 -TLSv1
SSLHonorCipherOrder on
SSLCipherSuite ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES256-SHA:AES128-SHA256:AES128-SHA:DES-CBC3-SHA:!ADH:!aNULL:!MD5:!RC4:!DES:!EDH:!IDEA:!3DES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment