marcells / node-build-monitor

A Build Monitor written in Node.js, which supports several build services and can be easily extended.
https://marcells.github.io/node-build-monitor
MIT License
349 stars 168 forks source link

Certificate issue with docker image #244

Closed jmbarbier closed 2 years ago

jmbarbier commented 2 years ago

Docker image uses node:7 as base image, and LetEncrypt IdentTrust DST Root CA X3 certificate expired on 30th September 2021 (https://scotthelme.co.uk/lets-encrypt-old-root-expiration/) This image does not contain the new certificates, so

{ Error: certificate has expired
     at TLSSocket.<anonymous> (_tls_wrap.js:1084:38)
     at emitNone (events.js:86:13)
     at TLSSocket.emit (events.js:188:7)
     at TLSSocket._finishInit (_tls_wrap.js:606:8)
     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:436:38) code: 'CERT_HAS_EXPIRED' } 

Rebuilding the image with a more recent node base image solves the problem (node:lts for example).