Skip to content

Missing in docs? cert file needed #7

@FredrikKarlssonSpeech

Description

@FredrikKarlssonSpeech

I believe that the documentation will have to be extended with information regarding the cert files needed. Where do they go and how do get/generate them?

$ npm install

> dtrace-provider@0.8.5 install /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/dtrace-provider
> node scripts/install.js


> dtrace-provider@0.7.1 install /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/ldapjs/node_modules/dtrace-provider
> node scripts/install.js


> sqlite3@3.1.13 install /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

[sqlite3] Success: "/Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN IPS-EMUprot-nodeWSserver No description
npm WARN IPS-EMUprot-nodeWSserver No repository field.
npm WARN IPS-EMUprot-nodeWSserver No license field.

added 184 packages in 31.295s
MacBook-Air:IPS-EMUprot-nodeWSserver frkkan96$ node IPS-EMUprot-nodeWSserver.js server_config.json | node_modules/bunyan/bin/bunyan
[2018-01-08T08:10:47.214Z]  INFO: nodeEmuWS/9968 on MacBook-Air.local: starting server...
fs.js:663
  return binding.open(pathModule.toNamespacedPath(path),
                 ^

Error: ENOENT: no such file or directory, open 'certs/noPwdServer.key'
    at Object.fs.openSync (fs.js:663:18)
    at Object.fs.readFileSync (fs.js:568:33)
    at /Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/IPS-EMUprot-nodeWSserver.js:230:12
    at Object.<anonymous> (/Users/frkkan96/Documents/GitHub/IPS-EMUprot-nodeWSserver/IPS-EMUprot-nodeWSserver.js:1378:2)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions