CodingZeal / create-react-app

Create React apps with no build configuration.
MIT License
2 stars 2 forks source link

Load SSL cert if environment variables exist #17

Closed craineum closed 7 years ago

craineum commented 7 years ago

The following environment variables are inspected:

If HTTPS is set to true and SSL_KEY_PATH && SSL_CERT_PATH are set, we try to load the certs via webpack devServer.

This was needed to get past browser non-trusted self signed certs to have a nice happy green browser experience. See more here: https://github.com/facebookincubator/create-react-app/issues/2759#issuecomment-316477866