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

devServer.https options - include passphrase for local cert key #2293

Closed
1 of 2 tasks
carlgunderson opened this issue Oct 23, 2019 · 1 comment
Closed
1 of 2 tasks

Comments

@carlgunderson
Copy link

  • Operating System: MacOS
  • Node Version: 10.16.0
  • NPM Version: 6.9.0
  • webpack Version: 3.3.9
  • webpack-dev-server Version: 3.9.0
  • Browser: N/A
  • This is a bug
  • This is a modification request

Code

Per the documentation on HTTPS settings:
https://webpack.js.org/configuration/dev-server/#devserverhttps

Is there a way to specify that a passphrase is required for the .key file? If not, are you aware of any possible workarounds that I could look into that would circumvent the webpack config?

My other question would be is this possible via webpack-cli? It seems like the options are the same between webpack-dev-server and webpack-cli, but not sure if more actions could be possible via webpack-cli.

@alexander-akait
Copy link
Member

Please use stackoverflow or gitter for questions.

We use https://github.com/jfromaniello/selfsigned package for generation certificates. Here issue jfromaniello/selfsigned#23. No workarounds, you can send a PR to the original repo and we update the package after merge.

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