cURL error 60: SSL certificate problem: certificate has expired

前端 未结 8 2199
清歌不尽
清歌不尽 2020-12-06 09:17

We running 2 application on amazon ec2 (backend.abc.com & frontend.abc.com). For that application, we used a paid SSL Certificate. That

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 09:36

    I had to fix this issue on a debian based server

    this was due to the system use of openssl (curl depends on openssl)

    here is how it went:

    1. remove AddTrust_External_Root.crt from your system (usually found in /etc/ssl/certs)
      1. remove or comment the "mozilla/AddTrust_External_Root" line from /etc/ca-certificates.conf
      2. run sudo update-ca-certificates to update the certificates used by openssl

    maybe it can help you ?

提交回复
热议问题