Unable to add repo to Debian Live (with Persistance)

Hi, i am unable to add flathub repo to my persistant debian live install.
I get this error:
error: Can’t load uri https://dl.flathub.org/repo/flathub.flatpakrepo: While fetching https://dl.flathub.org/repo/flathub.flatpakrepo: [60] SSL peer certificate or SSH remote key was not OK

System: Linux foxs-linux-install 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

I’m using gnome desktop, and running this off a usb c samsung t7 if that makes a difference.