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.