Getting error in Curl - Peer certificate cannot be authenticated with known CA certificates

前端 未结 6 2024
长发绾君心
长发绾君心 2021-01-02 03:33

I am getting the below error while making ssl connection with self signed certificate. \"Peer certificate cannot be authenticated with known CA certificates\"

It is

6条回答
  •  無奈伤痛
    2021-01-02 04:02

    We fixed a similar issue on CentOS 6 by updating curl to the latest version available in the standard repositories and installing the newest ca-certificates bundle:

    yum update curl
    yum install ca-certificates
    

提交回复
热议问题