daquinoaldo/https-localhost

Generate certificates at first run

daquinoaldo opened this issue · 1 comments

Since the postinstall script asking for sudo permissions makes problems, generate the certificates at first run.

The ./cert/generate.js script will be moved in ./certs.js. If the index.js won't find the certificates, them will be generated by this script.

Proposed by @stutrek in #7 in comments.

Better to implement after #8