centos下要跑个https的 request,需要安装证书,否则代码上要多写许多

Add
  1. Install the ca-certificates package:

    yum install ca-certificates

  2. Enable the dynamic CA configuration feature:

    update-ca-trust force-enable

  3. Add it as a new file to /etc/pki/ca-trust/source/anchors/:

    cp foo.crt /etc/pki/ca-trust/source/anchors/

  4. Use command:

    update-ca-trust extract

相关文章:

  • 2021-10-29
  • 2022-12-23
  • 2021-06-10
  • 2021-09-21
  • 2021-11-07
  • 2022-12-23
  • 2021-11-21
  • 2021-07-01
猜你喜欢
  • 2021-07-24
  • 2021-10-09
  • 2021-12-26
  • 2022-01-19
  • 2022-02-04
  • 2021-04-08
相关资源
相似解决方案