1
0
Derivar 0

Failed to dump certificates to file system #5

aberta(s)
2019-10-07 16:27:33 +00:00 aberta(s) por Ghost · 0 comentários

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 ?

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 (<anonymous>) 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.<anonymous> (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 ?
Ghost mudou o título de Failed to dump certificates from mozilla site. para Failed to dump certificates to file system 2019-10-07 16:27:48 +00:00
Inicie a sessão para participar neste diálogo.
Sem rótulo
Sem etapa
Sem encarregados
1 Participantes
Notificações
Data de vencimento
A data de vencimento é inválida ou está fora do intervalo permitido. Por favor, use o formato 'aaaa-mm-dd'.

Sem data de vencimento definida.

Dependências

Não estão definidas dependências.

Referência: coolaj86/ssl-root-cas.js#5
Nenhuma descrição fornecida.