Great info in this thread, thank you!
Weirdly enough, I’m still experiencing the CERT_HAS_EXPIRED error on the Calendar module, despite updating MagicMirror to 2.17.1.
Had the certificate error on quite a few modules prior, the update fixed all except the Calendar one. Did I miss something or is it perhaps an entirely different error?
(What kind of certificate is this anyway? I had thought an http request wouldn’t need any.)
0|launchMa | [03.10.2021 09:15.33.458] [ERROR] Calendar Error. Could not fetch calendar: http://kalender.link/ical/best FetchError: request to https://kalender.link/ical/best failed, reason: certificate has expired
0|launchMa | at ClientRequest.<anonymous> (/home/pi/MagicMirror/node_modules/node-fetch/lib/index.js:1483:11)
0|launchMa | at ClientRequest.emit (events.js:315:20)
0|launchMa | at TLSSocket.socketErrorListener (_http_client.js:469:9)
0|launchMa | at TLSSocket.emit (events.js:315:20)
0|launchMa | at emitErrorNT (internal/streams/destroy.js:106:8)
0|launchMa | at emitErrorCloseNT (internal/streams/destroy.js:74:3)
0|launchMa | at processTicksAndRejections (internal/process/task_queues.js:80:21) {
0|launchMa | type: 'system',
0|launchMa | errno: 'CERT_HAS_EXPIRED',
0|launchMa | code: 'CERT_HAS_EXPIRED'
0|launchMa | }