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-06-04
  • 2021-12-27
  • 2021-05-08
  • 2021-07-18
  • 2022-01-27
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2021-04-27
  • 2021-11-17
  • 2021-07-18
  • 2021-10-28
  • 2021-12-10
相关资源
相似解决方案