当我通过 Firefox 访问我的家庭服务器 Nextcloud 的 Web 界面时,我收到以下消息:
点击后Accept the Risk and Continue
,Nextcloud的自签名证书会自动添加到Firefox浏览器中。添加的证书显示在 Firefox 证书管理器中Settings -> Privacy & Security -> Security -> Certificates -> View Certificates... -> Servers
::
一切正常,直到我关闭浏览器窗口。关闭浏览器窗口后,证书消失。
事实上,Lifetime
第二张图中的证书显示为Temporary
。我还包括在关闭时自动清除浏览器历史记录。
如何使该证书永久保留在浏览器中(即使关闭浏览器窗口时)?
PS 我使用 Firefox 87 + Arch Linux。
更新:
我尝试将必要的证书添加到Security Exception
(建议的方式A.B
):
Preferences -> Privacy & Security -> View Certificates
Servers Tab
并单击Add Exception
Get Certificate
之后,我看到以下窗口,其中选项被Permanently store this exception …
我已经在我的两台计算机(笔记本和台式机)上使用 Arch Linux + GNOME 3 一年多了。并且一直以来,计算机都在快速关闭(3 秒内)。最近通过 Pamac 更新了两台计算机上的所有软件包后,计算机现在需要很长时间才能关闭(大约需要等待 2 分钟才能关闭)。我通常通过 GNOME 3 图形界面关闭计算机。
我试图做什么?
sudo systemctl --force --force poweroff
,它可以帮助和计算机快速关闭。sudo systemctl --force poweroff
,在这种情况下,计算机在 1.5 分钟后关闭,并在屏幕上显示一条消息:systemd-shutdown[1]: Waiting for process: gnome-session-b, Xwayland, gsb-media-keys, dbus-daemon, pulseaudio, gsd-power, gnome-shell, systemd, gsd-wacom, gsd-xsettings, gsd-color
。UPD:当我运行命令时sudo journalctl -b -1 -e --no-pager
,我在日志中发现了以下时间间隔:
Dec 24 18:05:28 archlinux systemd[497]: evolution-source-registry.service: Succeeded.
Dec 24 18:05:28 archlinux systemd[497]: evolution-calendar-factory.service: Succeeded.
Dec 24 18:05:28 archlinux systemd[497]: evolution-addressbook-factory.service: Succeeded.
Dec 24 18:07:28 …
Run Code Online (Sandbox Code Playgroud)