I apparently uploaded a bad SSL cert and now I can't access the web UI. Is there a way I can upload and set the config via CLI to tell TrueNAS what cert to use for the web UI?
I was able to fix it. For future reference, the certs are located at /etc/certificates.
Your custom uploaded CAs are store in /etc/certificates/CA.
The in-use web certs are /etc/certificates/CA/truenas_ca.crt and .key.