Music app on iMac won't sync due to mzstatic certificate not valid
I am unable to sign into Music and sync across devices. Each time I enter my ID and password, I get a popup message telling me the mzstatic certificate is not valid and error 9039. I can't find any way to fix this issue despite much searching.
IiMac Late 2014 running BigSur 11.7.10 - just reinstalled whole operating system, just in case, but didn't help
iMac 27″, macOS 11.7