Failed to dump certificates to file system #5
Rótulos
Sem rótulo
Sem etapa
Sem encarregados
1 Participantes
Notificações
Data de vencimento
Sem data de vencimento definida.
Dependências
Não estão definidas dependências.
Referência: coolaj86/ssl-root-cas.js#5
Carregando…
Criar uma nova questão referindo esta
Nenhuma descrição fornecida.
Eliminar o ramo "%!s(<nil>)"
Eliminar um ramo é algo permanente. Embora o ramo eliminado possa continuar a existir por um breve período de tempo antes de ser realmente removido, a operação NÃO PODERÁ ser desfeita na maioria dos casos. Quer continuar?
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.para Failed to dump certificates to file system