Web SSL Cert butchered

MisterBaz

Dabbler
Joined
Nov 28, 2022
Messages
14
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?
 

spuky

Explorer
Joined
Oct 11, 2022
Messages
60
Do you get the SSL cert warning in chrome... ?

then you can type “ thisisunsafe ” while you are on the warning page... and chrome will not care about the validity of the cert...
 

MisterBaz

Dabbler
Joined
Nov 28, 2022
Messages
14
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.
 
Top