New tls error when starting node red

Could I have a tip about how to fix my tl error. My node red was working on https but I get that new error now. It was working before and coming back few weeks after then :
Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
at Object.createSecureContext (_tls_common.js:129:17)
at Server.setSecureContext (_tls_wrap.js:1312:27)
at Server (_tls_wrap.js:1176:8)
at new Server (https.js:64:14)
at Object.createServer (https.js:88:10)
at Object. (/usr/lib/node_modules/node-red/red.js:146:20)
at Module._compile (internal/modules/cjs/loader.js:1147:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
at Module.load (internal/modules/cjs/loader.js:996:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14) {
library: 'SSL routines',
function: 'SSL_CTX_use_certificate',
reason: 'ee key too small',

the set-up is Rasbian on a Pi

Thank You for any help!

Is this a self-signed certificate?

The error is quite clear, you have provided a certificate key that is too small, the server has rejected it.

Have a look at how you created the certificate and redo it with a larger key.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.