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

Nodejs 18 leads to Cert problem #7

Open
Huskynarr opened this issue Feb 10, 2023 · 0 comments
Open

Nodejs 18 leads to Cert problem #7

Huskynarr opened this issue Feb 10, 2023 · 0 comments

Comments

@Huskynarr
Copy link

When using Nodejs 18 under Debian 11, the script aborts with the reason that the SSL certificate is too weak.

`sudo npm start

[email protected] start
node ./bin/cortanaproxy

[] DNS server listening on 192.168.13.37:53
[
] DNS www.bing.com -> 192.168.13.37
[*] CA server listening on 192.168.13.37:8888
node:internal/tls/secure-context:69
context.setCert(cert);
^

Error: error:0A00018E:SSL routines::ca md too weak
at node:internal/tls/secure-context:69:13
at Array.forEach ()
at setCerts (node:internal/tls/secure-context:67:3)
at configSecureContext (node:internal/tls/secure-context:156:5)
at Object.createSecureContext (node:_tls_common:117:3)
at Server.setSecureContext (node:_tls_wrap:1354:27)
at Server (node:_tls_wrap:1218:8)
at new Server (node:https:74:3)
at Object.createServer (node:https:112:10)
at module.exports.listen (/home/myuser/CortanaProxy/proxy.js:14:26) {
library: 'SSL routines',
reason: 'ca md too weak',
code: 'ERR_SSL_CA_MD_TOO_WEAK'
}

Node.js v18.14.0`

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

No branches or pull requests

1 participant