Reset Web Certificate

FlyBoy

Cadet
Joined
Sep 13, 2018
Messages
3
So, I create a new certificate due to the expired freenas_default on my truenas system. The problem is that when I installed the new certificate, and (forget exactly what I did), but the web ui pulled in the new certificate. Apparently, the options that I selected for the cipher are not making chrome happy, so I can no longer connect. I have tried just using http, but apparently I have previously selected the option to have http forwarded to https.

I have logged into my system, to try to remove the new certificate and just copy the old one to the new certificate name. I thought this would just revert to the old expired certificate, but when I reboot, it actually reverts my changes to the disk :(.

How can I either change the middleware_ssl to revert to the old certificate or re-enable http mode from the command line?

--Lynch--
 

FlyBoy

Cadet
Joined
Sep 13, 2018
Messages
3
So, I create a new certificate due to the expired freenas_default on my truenas system. The problem is that when I installed the new certificate, and (forget exactly what I did), but the web ui pulled in the new certificate. Apparently, the options that I selected for the cipher are not making chrome happy, so I can no longer connect. I have tried just using http, but apparently I have previously selected the option to have http forwarded to https.

I have logged into my system, to try to remove the new certificate and just copy the old one to the new certificate name. I thought this would just revert to the old expired certificate, but when I reboot, it actually reverts my changes to the disk :(.

How can I either change the middleware_ssl to revert to the old certificate or re-enable http mode from the command line?

--Lynch--
Progress: I was able to modify the /etc/local/nginx/nginx.conf and reset it to point to the expired freenas_default files. This was a temporary fix, as the nginx.conf file resets and continues to point to the bad certificate files.

In the UI, I managed to create a new self-signed certificate, but I still do not know how to make the nginx.conf look at the new cert, which should also allow me to delete the bad one. When I try to delete the bad one, I get a file in use error from the middlewared.

--Lynch--
 
Last edited:
Top