Problems using gMSA account for PSU service - Cert error

I made a script to help diagnosis problems like this. It replicates the certificate lookup done by ASP.NET Core (and PSU).

It’s a bit different than the Cert drive etc so it might be worth trying under your gMSA account.