docs: function readCertsSync(paths) {
      var opts = {};
  
      if (!(paths instanceof Array))
          throw new TypeError("readCertsSync expects Array argument");
  
      switch (paths.length) {
          case 1:
              opts.pfx = fs.readFileSync(paths[0]);
              break;
          case 2:
              opts.cert = fs.readFileSync(paths[0]);
              opts.key = fs.readFileSync(paths[1]);
              break;
          default:
              opts.cert = fs.readFileSync(paths[0]);
              opts.key = fs.readFileSync(paths[1]);
              opts.ca = [];
              paths.slice(2).forEach(function(path) {
                  opts.ca.push(fs.readFileSync(path));
              });
      }
  
      return opts;
  }