Recently I installed new Sitecore XP instance and when I have created tenant folder and tenant, I saw warning related to license on the top which says current license does not support SXA.
So I switched the license which supports SXA. And then yellow page with above error pops up.
Resolution:
Fix the certificate value in the connection string file in your wwroot folder. This has resolved the issue for me.
You can check learn.microsoft.com for more insights into the issue and troubleshooting ways.