I have an Ubuntu 14.04 server running Apache2 and 2 subdomains. One subdomain runs a WordPress site and the other a custom PHP site.
It was running flawlessly before installing the certs after following the instructions here.
I installed them and everything appeared to still run flawlessly. I tested both sites myself as well as with https://www.ssllabs.com/ssltest. Everything seemed totally fine. No problems whatsoever.
Then I reactivated cloudflare and all hell broke loose. All sites were giving infinite redirect errors. I thought the problem was an incorrect configuration with CloudFlare, so I disabled it, but this did not fix the infinite redirects. I couldn’t do anything except restore a backup.
I would really like to get this working with SSL but I’m not sure where to begin or even what went wrong.
Update: This seems to be covered here, however, it isn’t at all clear what needs to be changed to what in the config files.