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

Why does browser trust this? #61

Open
gotexis opened this issue Sep 1, 2022 · 1 comment
Open

Why does browser trust this? #61

gotexis opened this issue Sep 1, 2022 · 1 comment

Comments

@gotexis
Copy link

gotexis commented Sep 1, 2022

Using this from webpack-dev-server, I wonder why Chrome doesn't complain about the validity of the cert?

@jfromaniello
Copy link
Owner

jfromaniello commented Sep 1, 2022

I am not sure how webpack-dev-server uses this module or if they change something.

In my own projects and for this scenario of a dev server I generally spawn mkcert.

when you setup mkcert for the first time, it will generate a CA root for your own use and add it to every chain (macos, chrome, firefox, etc). From there, everytime you generate a certificate it is automatically trusted everywhere.

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

2 participants