Apache SSL/HTTPS Setup

I always need a refresher when it’s time to create a CSR and/or a self-signed certificate. I also always need to look up the basic httpd.conf directives for enabling SSL. This centos article is a very concise articulation of the process.

HowTos/Https - CentOS Wiki


For deeper details about setting up the SSL ciphers to the desired levels of compatibility and security, see this Hynek post.

Hardening Your Web Server’s SSL Ciphers · Homepage of Hynek Schlawack


One more example with some different/additional details about some directives.

Installing mod_ssl on apache: X.509,Certificate Authority,digital signatures explained ~ Technical Essentials


For configuing ciphers, consider browser compatibility.

Template:TLS/SSL support history of web browsers - Wikipedia, the free encyclopedia


Advice from google for migrating a site from HTTP to HTTPS, as well as links to more advice from google.

Secure your site with HTTPS

[Make intra-site URLs relative Web Fundamentals - Google Developers](https://developers.google.com/web/fundamentals/security/encrypt-in-transit/make-intra-site-urls-relative)

After we’re satisfied with the HTTPS configuration, maybe a couple months in or more, we should enable HSTS as well.

[How to configure HTTP Strict Transport Security (HSTS) on Apache & NGINX IT Igloo](http://itigloo.com/security/how-to-configure-http-strict-transport-security-hsts-on-apache-nginx/)

For an older article dicussing the speed of ssl and how to optimize it, see 5 easy tips to accelerate SSL – Unhandled expression. But this is too old for the actual cipher suite recommendations to be useful.


More interesting recommendations about cipher suites.

Strong SSL Security on Apache2 - Raymii.org


Recommendations specific to Deploying Diffie-Hellman for TLS, “custom groups” and more that I don’t completely understand. There’s also reference here to Mozilla’s “medium” cipher suite selection. Deploying the custom HL groups requires apache 2.4.7 or later.

Logjam: PFS Deployment Guide


Mozilla’s recommendations for SSL/TLS configuration:

Security/Server Side TLS - MozillaWiki


For details and insights about enabling forward secrecy:

[SSL Enabling Forward Secrecy DigiCert.com](https://www.digicert.com/ssl-support/ssl-enabling-perfect-forward-secrecy.htm)

Some details about supported cipher suites in Internet Explorer versions back to IE7.

IE Supported Cipher Suites · client9/sslassert Wiki


Four online tools to evaluate SSL implementation: