flathub giving error Unacceptable TLS certificate

Title. It was working fine and I was installing stuff last week without issue. I tried to install some flathub flatpak packages and now i get the Unacceptable TLS certificate error. I did a pacman -Syu and everything is up to date.

my config only has:

[core]
repo_version=1
mode=bare-user-only
min-free-space-size=500MB

I never added a repo. I used to install by going flatpak install flathub xxxxxxxxxx

I also just tried to reinstall ca-certificates and that did not help.