I use GitHub pages to host a static website at a custom domain. When I visit http://custom.example.com I get my website as expected. When I visit https://custom.example.com I get a certificate warning:
This server could not prove that it is custom.example.com; its security certificate is from *.github.io. This may be caused by a misconfiguration or an attacker intercepting your connection.
GitHub Help says
HTTPS is not supported for GitHub Pages using custom domains.
I strongly prefer HTTPS over HTTP. Is there any way I can make https://custom.example.com work as expected?