小编Den*_*nis的帖子

如何在 Firefox 中永久添加自签名证书?

当我通过 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
  • 填写 https URL(例如: https: //self-signed.badssl.com/)并单击Get Certificate

之后,我看到以下窗口,其中选项被Permanently store this exception …

firefox browser certificates

16
推荐指数
1
解决办法
4万
查看次数

为什么我的电脑需要很长时间才能关机?

我已经在我的两台计算机(笔记本和台式机)上使用 Arch Linux + GNOME 3 一年多了。并且一直以来,计算机都在快速关闭(3 秒内)。最近通过 Pamac 更新了两台计算机上的所有软件包后,计算机现在需要很长时间才能关闭(大约需要等待 2 分钟才能关闭)。我通常通过 GNOME 3 图形界面关闭计算机。

我试图做什么?

  1. 最近再次更新了所有软件包,但没有帮助。
  2. 使用该命令sudo systemctl --force --force poweroff,它可以帮助和计算机快速关闭。
  3. 使用命令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)

arch-linux systemd gnome3

5
推荐指数
2
解决办法
686
查看次数

标签 统计

arch-linux ×1

browser ×1

certificates ×1

firefox ×1

gnome3 ×1

systemd ×1