Renew or replace WEB UI certificate

ObiTobi

Patron
Joined
Jul 12, 2013
Messages
316
Hi,

my Freenas 11.3 told me today my WEB UI Certificate will expire in 2 days.
So I have a new certificate from my CA (ist not the Freenas box) but I can't delete the old or replace it. If I try to delete the old certificate I receive alwys error message

"Selected certificate is being used by WebUI service "

I can't find nothing in documentation how I can replace the existing one or tell WEBUI to use different Certificate
 

Heffy

Dabbler
Joined
Jul 8, 2016
Messages
18
@ObiTobi under section 7.1.1 - System of the documentation and sections 7.15. and 7.16. cover importing certificates etc.
FreeNAS System Docs

I suspect you import your new certificate in the FreeNAS web UI, set it as default and reboot your system to replace the old certificate.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If you're doing this on any kind of regular basis, there's a script for that:
 

callmr

Dabbler
Joined
Feb 9, 2020
Messages
13
Happy you found it. I didn't. Could you please describe how to activate the new certificate to be used with the UI?
 

callmr

Dabbler
Joined
Feb 9, 2020
Messages
13
I just found it under System>General right on the top (TrueNAS Core).
 
Top