code: function sslOptions(sslConf) {
      const sslOpts = {};
  
      if (sslConf.cert) {
          sslOpts.cert = fs.readFileSync(sslConf.cert);
      }
      if (sslConf.key)  {
          sslOpts.key  = fs.readFileSync(sslConf.key);
      }
  
      if (sslConf.ca) {
          sslOpts.ca = [];
          if (sslConf.ca instanceof Array) {
              sslConf.ca.forEach((ca) => {
                  sslOpts.ca.push(fs.readFileSync(ca));
              });
          } else {
              sslOpts.ca.push(fs.readFileSync(sslConf.ca));
          }
      }
  
      return sslOpts;
  }
docs: sync