有人知道如何在 Ubuntu 14.04 64 位上安装根证书吗?我在互联网上找到的所有方法都不起作用 ( update-ca-certificate
,dpkg-reconfigure
等等)。在我之前的 Ubuntu 安装(12.04)中没有问题。Debian 也没有问题。例如,我需要它来签出位于 URL 下的 svn repo:https://svn.mydomain.com/。mydomain 的 SSL 证书由我的 CA(ActiveDirectory)签名。
有一个关于 Root CA 安装和 Stack 上的 Ubuntu 的主题,有人也说“旧方法”对他(也是 Ubuntu 14.04)也不起作用。
答案1
对我来说,放入根 CA 证书/usr/local/share/ca-certificates
并运行update-ca-certificates
就可以了。这不会影响 Firefox 或 Google Chrome,因为它们使用自己的证书存储,但像这样的工具可以wget
正常工作。
It reads the file /etc/ca-certificates.conf. Each line gives a pathname
of a CA certificate under /usr/share/ca-certificates that should be
trusted. Lines that begin with "#" are comment lines and thus ignored.
Lines that begin with "!" are deselected, causing the deactivation of
the CA certificate in question. Certificates must have a .crt extension
in order to be included by update-ca-certificates.
Furthermore all certificates with a .crt extension found below
/usr/local/share/ca-certificates are also included as implicitly
trusted.