Hacker News new | ask | show | jobs
by 38911BBF 2312 days ago
Nice article, but just a headsup: The website certificate of runwes.com is only valid for the following names: www.github.com, * .github.io, * .githubusercontent.com, * .github.com, github.com, github.io, githubusercontent.com.

Everyhing is alerts and warnings when clicking the link.

1 comments

Author here. I have never configured a website like this so I wasn't aware of these problems. Any tips for fixing this?
The problem is because you're using GitHub Pages to host your website on a custom domain. When someone accesses your website via HTTPS, they get a certificate that is only valid for GitHub domains. Of course the HN submission is an HTTP link, so the person you're replying to probably has their browser configured to use HTTPS everywhere.

You can fix this by enabling HTTPS in GitHub pages, so that a valid certificate is served. See GitHub's troubleshooting information: https://help.github.com/en/github/working-with-github-pages/...