The first problem is that in the options for my repo, under the custom domain section, the check box is disabled (after I enter in the the custom domain and save).
Enforce HTTPS — Unavailable for your site because your domain is not properly configured to support HTTPS ([mentalhealth-kb.net](http://mentalhealth-kb.net/))
Your connection is not secure
mentalhealth-kb.net uses an invalid security certificate. The certificate is only valid for the following names: \*.github.com, github.com, \*.github.io, github.io
@tagatuhaI’ve got that message too, but it’s changed a few times for me since I started fiddling with my settings. Right now I’m told
Unavailable for your site because your domain is not properly configured to support HTTPS
I’m gonna let it sit for a day or 2 and see how things look after the DNS update. I’ll post here if I get things straightened out properly and make notes on what I’ve done.
Edit: You need to use our new IP addresses to set up custom domains. These are:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
If you are still having this problem after using these new IP addresses and haven’t opened up a ticket with our support team, could you please contact us at git.io/c? That way, we can help resolve this issue.
In my case, I had to remove the custom domain from the repository settings, then re-add it. This did not immediately work, but nine hours later, the certificate was issued and my site started being served over HTTPS.
So I would suggest to anyone having difficulty to first try removing and re-adding their custom domain, if they have not already done so. And secondly, a little patience may be required – the process can take a number of hours.
I deleted the custom domain (setting the custom domain field to empty and hit save), waited 30 seconds, and then added my domain again. Now I’m getting the expected message! Fast forward 5 minutes and the certificate was issued and the checkbox was clickable. Now I have HTTPS :smileyvery-happy:
Enforce HTTPS — Not yet available for your site because the certificate has not finished being issued
Why does this require to create ticket to solve issue everytime, 3 days back I hosted a githubpage and then this issue was sloved after writing to support. Today I created a page and same issue created tocket to GH support and waiting to reply from last 5 hours, no reply yet.
As the Accepted Solution to this thread states, if you’re still experiencing issues with HTTPS, you should reach out to our support team so we can help.