When I go to the web interface of my home server Nextcloud via Firefox, I get the following message:
After I click
Accept the Risk and Continue, and then the self-signed certificate of Nextcloud is automatically added to the Firefox browser.
The added certificate is displayed in the Firefox Certificate Manager:
Settings -> Privacy & Security -> Security -> Certificates -> View Certificates... -> Servers:
And everything works well until I closed the browser window. After closing the browser window, the certificate disappears.
The fact is that the
Lifetime of the certificate in the second figure is displayed as
Temporary. I also included automated clearing browser history when closing.
How to make so that this certificate is permanently kept in the browser (even when closing the browser window)?
P.S. I use Firefox 87 + Arch Linux.
I try to add the necessary certificate to
Security Exception (the way proposed
- go to
Preferences -> Privacy & Security -> View Certificates
Servers Taband click
- fill in the https URL (eg: https://self-signed.badssl.com/) and click
After that, I get the following window, where option the
Permanently store this exception is blocked:
When I press the
Confirm Security Exception, then the self-signed certificate is added to exception, only again with the
Temporary property (as on the second image).
When I do it for URL
https://self-signed.badssl.com/ the result is the same.