You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the youtube OneM@M tutorial for enabling SSL/TLS, in Mobius deployed in my local PC.After adding server.crt,ca.crt,server-key.pem file in Mobius root directory,if I run Mobius.js ,it gives below mentioned error
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 Object.connect (node:_tls_wrap:1631:48)
at Object.buildBuilder (E:\Mobius-master\node_modules\mqtt\lib\connect\tls.js:13:20)
at MqttClient.wrapper [as streamBuilder] (E:\Mobius-master\node_modules\mqtt\lib\connect\index.js:140:36)
at MqttClient._setupStream (E:\Mobius-master\node_modules\mqtt\lib\client.js:277:22)
at new MqttClient (E:\Mobius-master\node_modules\mqtt\lib\client.js:258:8) {
library: 'SSL routines',
reason: 'ca md too weak',
code: 'ERR_SSL_CA_MD_TOO_WEAK'
}
Node.js v18.16.0_
Can anybody guide for any workaround?
The text was updated successfully, but these errors were encountered:
I followed the youtube OneM@M tutorial for enabling SSL/TLS, in Mobius deployed in my local PC.After adding server.crt,ca.crt,server-key.pem file in Mobius root directory,if I run Mobius.js ,it gives below mentioned error
_E:\Mobius-master>node mobius.js
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 Object.connect (node:_tls_wrap:1631:48)
at Object.buildBuilder (E:\Mobius-master\node_modules\mqtt\lib\connect\tls.js:13:20)
at MqttClient.wrapper [as streamBuilder] (E:\Mobius-master\node_modules\mqtt\lib\connect\index.js:140:36)
at MqttClient._setupStream (E:\Mobius-master\node_modules\mqtt\lib\client.js:277:22)
at new MqttClient (E:\Mobius-master\node_modules\mqtt\lib\client.js:258:8) {
library: 'SSL routines',
reason: 'ca md too weak',
code: 'ERR_SSL_CA_MD_TOO_WEAK'
}
Node.js v18.16.0_
Can anybody guide for any workaround?
The text was updated successfully, but these errors were encountered: