Failed to dump certificates to file system #5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
To give some context, I am using this library to enable an electron app to use a 3rd party API which doesn't seem to have their credential store properly configured. In short, the error I get ( Windows only ) is this:
Uncaught Error: ENOENT, node_modules\ssl-root-cas\pems\netlock-arany-class-gold-főtanúsítvány.pem not found in localpath\app-3.1.1-beta\resources\app.asar
at notFoundError (ELECTRON_ASAR.js:114:19)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:182:9)
at Object.fs.writeFileSync (fs.js:1311:33)
at localpath\resources\app.asar\node_modules\ssl-root-cas\ca-store-generator.js:145:8
at Array.forEach ()
at dumpCerts (localpath\resources\app.asar\node_modules\ssl-root-cas\ca-store-generator.js:130:9)
at localpath\resources\app.asar\node_modules\ssl-root-cas\ca-store-generator.js:222:7
at IncomingMessage. (localpath\resources\app.asar\node_modules@coolaj86\urequest\index.js:154:9)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
After decompressing the *.asar file, I could locate the 'netlock-arany-class-gold-főtanúsítvány.pem' under /node_modules/ssl-root-cas/pems. For some reason, the node runtime of electron doesn't seem to be catching that and as a result, throws that error. Any ideas ?
Failed to dump certificates from mozilla site.to Failed to dump certificates to file system