If you want to use the https protocol, you must provide us with a certificate and an SSL key String. This can also be fs.readFileSync.
fs.readFileSync
new DBD.Dashboard({ ssl: { enabled: Boolean, key: String, cert: String, }, });
new DBD.Dashboard({ ssl: { enabled: true, key: fs.readFileSync("key.pem"), cert: fs.readFileSync("cert.pem"), }, });
Indicate if SSL should be enabled or not.
Path to the ssl key file
Path to the ssl cert file
Was this page helpful?