cURL error 60: SSL certificate problem: certificate has expired

前端 未结 8 2202
清歌不尽
清歌不尽 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:53

    If you're having this issue with "curl" (or similar) on a Ubuntu 16 system, here's how we fixed it:

    On the Ubuntu 16 system hosting the curl / app that fails:

    • nano /etc/ca-certificates.conf
    • Remove the line (or comment) specifying AddTrust_External_Root.crt
    • apt update && apt install ca-certificates
    • update-ca-certificates -f -v
    • Try curl again with the URL that was failing before - hopefully it works now :)

提交回复
热议问题