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

Optionally disable cert verification for dev-server #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

PerfectlyNormal
Copy link
Contributor

I have my site running SSL in development with a self-signed cert. This causes the webpack-dev-server connection to fail unless that too runs with SSL -- by setting https to true or a configuration object in the devServer section of the webpack config.

Since webpack defaults to creating a self-signed cert, and apparently re-creating it each time webpack-dev-server is restarted, I wanted a way to disable certificate verification.

I'm a bit unsure how to test this properly, as it would require generating certificates, and preferably having a valid certificate to test as well, so I haven't added any

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

Successfully merging this pull request may close these issues.

None yet

1 participant