We use pi-gen to produce images for our products. However after upgrading our fork to buster seem to be experiencing an issue with open SSL in PHP failing to verify SSL Certificates.
Once the Pi has booted if I run the following the issue will resolve.
sudo apt purge ca-certificates sudo apt install ca-certificates
However I'm not sure why this is happening in the first place as before the buster upgrade didn't have any issues at all.