如何符号链接 /usr/share/ca-certificates 的子目录?

如何符号链接 /usr/share/ca-certificates 的子目录?

我有一些自签名证书,/mnt/raid/ssl我想将其添加到我的/usr/share/ca-certificates。到目前为止,我尝试了以下操作:

  1. sudo ln -s /mnt/raid/ssl /usr/share/ca-certificates/extra
  2. sudo dpkg-reconfigure ca-certificates # certificates under ./extra don't appear
  3. sudo update-ca-certificates

步骤的输出3如下:

$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.

我错过了什么?

答案1

尝试将它们放在 (的子目录中)/usr/local/share/ca-certificates而不是。该位置也在(在 Debian 8 Jessie 上)/usr/share/ca-certificates中提到。/usr/share/doc/ca-certificates/README.Debian

相关内容