You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
An error was thrown while starting webpack-serve.
{ Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
This is because key and cert are supposed to be the contents of the files, but when passed via CLI, https is sent the file paths, not the contents of the file. There'll need to be some additional handling of these options to read the content of the files.
How Do We Reproduce?
Specify https-cert and https-key on the command line.
The text was updated successfully, but these errors were encountered:
This issue is for a:
Code
CLI Command
$ webpack-serve ./webpack.config.js --https-cert ./certificate.pem --https-key ./key.pem
webpack.config.js
N/A
Expected Behavior
Webpack serve starts with an HTTPS server
Actual Behavior
The following error:
This is because key and cert are supposed to be the contents of the files, but when passed via CLI,
https
is sent the file paths, not the contents of the file. There'll need to be some additional handling of these options to read the content of the files.How Do We Reproduce?
Specify
https-cert
andhttps-key
on the command line.The text was updated successfully, but these errors were encountered: