Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start fail on systems with OpenSSL >= 1.1.1 #3205

Closed
RuneStone0 opened this issue Feb 23, 2020 · 0 comments
Closed

npm start fail on systems with OpenSSL >= 1.1.1 #3205

RuneStone0 opened this issue Feb 23, 2020 · 0 comments

Comments

@RuneStone0
Copy link

The bug
npm start will fail on systems with OpenSSL >= 1.1.1

How to reproduce

  1. Use latest version of Kali Linux or modify /etc/ssl/openssl.cnf and set CipherString to DEFAULT@SECLEVEL=2
  2. Run npm start

This will throw an error:

$ npm start

> [email protected] start /tmp/ui
> cross-env NODE_ENV=development node server.js

_tls_common.js:135              
      c.context.setCert(cert);
                ^

Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
    at Object.createSecureContext (_tls_common.js:135:17)
    at Server (_tls_wrap.js:873:27)
    at new Server (https.js:62:14)
    at Object.createServer (https.js:85:10)
    at Object.<anonymous> (/tmp/blockbasis-bitshares-ui/ui/server.js:61:7)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Additional information about the issue: https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1

Solution
Generate 2048 bit long keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants