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

Default SSL certificate are missing a common name #193

Open
oliamb opened this issue Sep 1, 2015 · 2 comments
Open

Default SSL certificate are missing a common name #193

oliamb opened this issue Sep 1, 2015 · 2 comments

Comments

@oliamb
Copy link

oliamb commented Sep 1, 2015

When using https protocol option, a default self-signed certificate is provided.

This certificate is missing a common name so Chrome don't trust it even if we follow the procedure in the README.

I would suggest to use localhost as common name in the default SSL certificate. What do you think?

@spadgett
Copy link

I've been seeing this problem as well.

NET::ERR_CERT_COMMON_NAME_INVALID

This server could not prove that it is localhost; its security certificate is from 0.0.0.0. This may be caused by a misconfiguration or an attacker intercepting your connection.

Following the instructions in the note here did not help:

https://github.com/gruntjs/grunt-contrib-connect#support-for-https--http2

I had to create my own certificates for localhost.

@XhmikosR
Copy link
Member

XhmikosR commented Sep 9, 2018

PRs welcome to fix this.

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

No branches or pull requests

3 participants