Site containers missing, Restore Site gives 'certificate has expired' error

I’ve now managed to resuscitate one Local site, but only if I use the Preferred environment.

It seems the main issue now is addressing the ‘Error: certificate has expired’ so that I can download the necessary elements of the custom environments to restore the sites.

I’ve seen this but it’s not working here. Any help much appreciated, this is now really urgent.