marcells/node-build-monitor

Certificate issue with docker image

jmbarbier opened this issue · 0 comments

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).