Installing old macOS: why it says “damaged” and how to fix it
El Capitan, Sierra, High Sierra or Mojave that won’t install: it isn’t obsolescence, it’s a certificate that expired on Oct 24, 2019 or a wrong clock. Apple’s re-signed download, the date command and a per-version date table.
Read guide