binnes / esp8266Workshop

IoT workshop based on ESP8266, a DHT11/22 and neopixel RGB LED
Apache License 2.0
76 stars 75 forks source link

Use bash env-vars to facilitate certificate creation #8

Closed neumannrf closed 5 years ago

neumannrf commented 5 years ago

I believe that, by concentrating all user-dependent values into environment variables, one can minimise the errors in the certificate creation.

binnes commented 5 years ago

All changes to the content needs to support Linux, MacOS and Windows operating systems. This change will break Windows users. The better approach to this would be to use the openssl config file, but for simplicity I decided against this approach to keep it as simple as possible.