Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Add https support for dev mode #111

Closed
dsebastien opened this issue Apr 29, 2016 · 1 comment
Closed

Add https support for dev mode #111

dsebastien opened this issue Apr 29, 2016 · 1 comment

Comments

@dsebastien
Copy link
Owner

No description provided.

@dsebastien
Copy link
Owner Author

dsebastien commented Apr 30, 2016

Won't do, actually not needed for service workers (localhost is trusted)

Just as reference, here's how to configure it for webpack-dev-server:

        // enable https support
        https: true,
        // to generate a self signed key pair
        // openssl req -x509 -newkey rsa:2048 -keyout 127.0.0.1.key.pem -out 127.0.0.1.pem -days 3650
        key: helpers.root("config/127.0.0.1.key.pem"),
        cert: helpers.root("config/127.0.0.1.pem"),
        //cacert: "", // path to the CA certificate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant