Keystone Tests Server When testing ssl configuration you must tell node to ignore certificate errors: NODE_TLS_REJECT_UNAUTHORIZED=0 mocha lib/server.https.test.js