Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS connection is insecure on custom domain #477

Open
mk0y opened this issue Aug 12, 2022 · 2 comments
Open

HTTPS connection is insecure on custom domain #477

mk0y opened this issue Aug 12, 2022 · 2 comments

Comments

@mk0y
Copy link

mk0y commented Aug 12, 2022

Hi all,

I'm wondering if this project is still actively maintained. Chat page doesn't work: https://surge.sh/help/chat.

That aside, I run surge from my project root, i set the custom domain via CNAME, however I'm getting
image
in my browser. I tried other browsers as well.

Certificate is not valid:

image

However, when I inspect certificate it says it's valid:
image

I've seen similar (closed) issues here, just wanted to ask if this is still happening to others as well. Any ideas how to fix this?

Thanks,
Marko

@raininja
Copy link

@mk0y check these links:
https://surge.sh/help/using-https-by-default
https://surge.sh/help/securing-your-custom-domain-with-ssl

basically you need your own ssl cert for the custom domain, there are instructions for manually creating a .pem file ( I think you can do the same thing with Let's Encrypt certs, or whatever)

Hope this helps

@fu-sen
Copy link

fu-sen commented Sep 2, 2022

There's a bit more in-depth information on this in the discussions.
https://github.com/sintaxi/surge/discussions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants