Fix package.json and add script to generate SSL certificate.