This is a little weird to me, because it's so easy to host your site a multitude of different ways. The notable thing about GH is its free, which makes complaining about it not having the one feature you want so odd. If you want that feature, pay the buck or two it will cost to host your site on CloudFront with something like Stout [1].<p>1: <a href="http://stout.is" rel="nofollow">http://stout.is</a>
You can use CloudFlare with a custom domain in front of Github Pages. It works. I do this for <a href="https://github.com/leighmcculloch/5tweets.com" rel="nofollow">https://github.com/leighmcculloch/5tweets.com</a> which you can see SSL'd at <a href="https://5tweets.com" rel="nofollow">https://5tweets.com</a>.
FYI, when Let's Encrypt goes public in a week, you'll be able to get free certs without having to install anything by using <a href="https://gethttpsforfree.com" rel="nofollow">https://gethttpsforfree.com</a><p>Fun fact, the website is just a reverse proxied github static page: <a href="https://diafygi.github.io/gethttpsforfree" rel="nofollow">https://diafygi.github.io/gethttpsforfree</a>
I'd love to see SSL support on custom domains as well, but I know there are a couple of reasons why it hasn't happened already:<p>1. GitHub Pages likely isn't a core focus for GitHub, however useful it may be<p>2. GitHub Pages is currently completely interface-less, relying only on an automated build system running each site through Jekyll and deploying it. In order to support custom certificates, they would need to build an interface for certificate uploading/maintenance (and of course putting the certs & keys into the repo, like the current CNAME system, won't work).
+1<p>But are you guys seriously going to spam github/contact or support@github.com ?<p>Because if that was my inbox. I'd be pissed looking at thousands of emails that contain the same body.
I agree with imbriaco's sentiment from the linked discussion - using a CDN or some other host that supports SSL to host your static site is a good solution. I recently migrated my GitHub pages site to Amazon S3 and Cloudfront. I had to buy a cheap Comodo SSL certificate and upload it to AWS to get it working with my custom domain, but the documentation[1] was good enough that it didn't take me very long at all.<p>[1] <a href="http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/SecureConnections.html#CNAMEsAndHTTPS" rel="nofollow">http://docs.aws.amazon.com/AmazonCloudFront/latest/Developer...</a>
While GitHub has a free account, it gets quite expensive when you start paying. And GitHub Pages is a complementary add-on and many of us stayed on GitHub because of nice things like this. I do agree that it isn't their core focus and that people could host their stuff somewhere else for cheap.<p>However there is something to be said about making encrypted connections the standard. Chrome and Firefox will only support encrypted HTTP 2.0 connections. So if GitHub Pages does not provide HTTPS for custom domains, then it won't support HTTP 2.0. Adding HTTPS support is also the right thing to do given the recent attacks on privacy.<p>Yes, GitHub Pages is a free add-on that isn't their competency, but in my opinion they should either drop it completely, or support HTTPS. Because otherwise they are keeping the web back due to their popularity.
Yeah, and please send me a free flying car while you are at it.<p>Obviously everybody would like that, but it's not as easy as it seams. As github pages, technically are virtual domains, they share the same ip with many other pages, if you want to support https, you need to serve either each page on a different ip (not free), or they need a to configure multidomain ssls (which everytime they need to add a new domain, that means they have to reset the certificate for the other domains on the same ip), and I think there is a limit on the number of domains that can share the same ip - citation needed - . And all of this for free.<p>Want SSL on gh pages, setup a proxy infront of gh pages.
Its quite a co-incidence that I scouted for an answer for this today while I was setting up SSL for my gh-pages. As already pointed out by some comments, its not quite as simple as we think it is to have GitHub extend SSL for its pages. Its for the same reason that Tumblr doesn't allow SSL support for custom domain either. IMHO, CloudFlare is probably the simplest workaround to get SSL enabled for your gh-pages. Link on how to <a href="https://me.net.nz/blog/github-pages-secure-with-cloudflare/" rel="nofollow">https://me.net.nz/blog/github-pages-secure-with-cloudflare/</a>
What's missing is, why? It's a static site, so you won't get any real privacy about what you're reading. If you have binaries to distribute, you have other features for releasing them that let you use TLS.
I also have my personal website on GH pages + Cloudflare. If it is for a static web site I think it is ok, and thanks to both companies that gives us this service for free.<p>If you pretend more you can pay and use AWS or some other service.
Of note guys there's a little ! icon button in the top of the page to report this gist. It's basically encouraging spam and as everyone has pointed out, is likely not technically sound.
Isn't Github Pages hosted on S3? That would explain the lack of TLS on custom domains.<p>Anyway, this is a very major security flaw. Lots of software uses Github pages for the project website. If you put a download link on an unsecure page, you are putting all your customers st risk.