Skip to content

Apex Domain Issued Invalid Certificate with GitHub Pages Custom Domain #23184

Answered by otter-computer
rajsite asked this question in General
Discussion options

You must be logged in to vote

Hi @rajsite, GitHub Pages only generates an SSL certificate for the exact domain you enter in the custom domain input box. This means that only www.webvi.io will be secured. The apex domain webvi.io won’t be.

This means that you’ll get a security error when you visit the HTTPS variant of your apex domain https://webvi.io/. You can still bypass this security error and you’ll be redirected to the secure version of your www subdomain, but the error will still show. This isn’t an issue if you visit the HTTP variant of your apex domain, http://webvi.io/, you won’t see a security error here and will be redirected normally.

There isn’t a direct workaround for this yet. If you need to have both …

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants