I’ve used these certs with brave before but I don’t know how I did it.
https://militarycac.com/linux.htm
And I’m not able to import them to the OS certificate store for some reason. I found this script that makes it work for firefox but it’s hardcoded for ff and chrome.