The property "secureOptions" is missing in the options of https.createServer (interface ServerOptions) See: https://nodejs.org/api/tls.html