Your connection is not secure / Your connection is not private
Error code: SSL_ERROR_BAD_CERT_DOMAIN (Firefox)
NET::ERR_CERT_COMMON_NAME_INVALID (Chrome)
Trying adding the A records as described here:
https://help.github.com/articles/setting-up-an-apex-domain/
Will update if that works..
After I've set the A records, I removed the custom domain from GitHub's Settings and then re-added it.
It started working afterwards.
I'm looking at a website on which I have Cloudflare enabled and my certificate is being shared with about 24 other domains. For somebody that knows what HTTPS is about and what it protects against, that's not acceptable. We only accepted it because we find it as being a reasonable compromise given the alternative.
So why isn't Cloudflare generating Lets Encrypt certificates, instead of these shared ones? Given their fast response in pursuing other endeavors, my guess is that they need incentives for people to move to their business plans.
Therefore I'm glad that GitHub Pages can have HTTPS enabled for custom domains. It means I can now turn off CloudFlare.
I'm so glad in fact that I started paying GitHub for a $7 account, even though I don't currently have a need for private repos.
Also you can get a dedicated certificate on the free plan for $5/month.
The private keys are never given to you, or other sites. It is all within Cloudflare’s edge.
185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153
From: https://help.github.com/articles/setting-up-an-apex-domain/
EDIT: You’ll also need to remove and re-add the domain in the repository settings after doing that too to trigger it to request a cert.
I moved my repo to GitLab pages after Google announced it would prioritise sites that support HTTPS in its search results.
Even if only 1% of users were unable to access a site after the switch to HTTPS, the amount of calls to Github support would be massive.
[0]: https://www.blog.google/topics/developers/introducing-app-mo...
Googles announcement is much more along the lines of Progressive Web Apps (PWA) and Service Workers which require HTTPS [2].
[1]: https://github.com/isaacs/github/issues/156
[2]: https://developers.google.com/web/progressive-web-apps/check...