Skip to content

Optionally disable cert verification for dev-server - #11

Open
PerfectlyNormal wants to merge 5 commits into
sergeysolovev:masterfrom
PerfectlyNormal:disable-cert-verification
Open

Optionally disable cert verification for dev-server#11
PerfectlyNormal wants to merge 5 commits into
sergeysolovev:masterfrom
PerfectlyNormal:disable-cert-verification

Conversation

@PerfectlyNormal

Copy link
Copy Markdown
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.

1 participant