itxdm

ca-certificates 更新

x509: failed to load system roots and no roots provided.

curl error: Problem with the SSL CA cert (path? access rights?)


 

本地 CA 证书的处理方式发生了变化。

若您有自行添加的信任证书,需要:

将 /usr/local/share/ca-certificates/*.crt 移动到 /etc/ca-certificates/trust-source/anchors/ 下

对 /etc/ssl/certs/*.pem 进行上述操作,并将它们重命名为 *.crt

运行 trust extract-compat

另见 man 8 update-ca-trust 及 trust --help 。

分类:

技术点:

相关文章:

  • 2021-11-27
  • 2021-11-23
  • 2021-10-12
  • 2021-08-30
  • 2020-10-24
  • 2021-08-07
  • 2021-08-25
  • 2021-11-29
猜你喜欢
  • 2021-12-10
  • 2021-11-17
  • 2021-04-22
  • 2021-10-12
  • 2021-10-02
  • 2021-08-13
相关资源
相似解决方案