use make-cert.js to create proper self-signed certificate