curl: (60) SSL certificate problem: unable to get local issuer certificate

前端 未结 26 2438
我寻月下人不归
我寻月下人不归 2020-11-22 08:09
root@sclrdev:/home/sclr/certs/FreshCerts# curl --ftp-ssl --verbose ftp://{abc}/ -u trup:trup --cacert /etc/ssl/certs/ca-certificates.crt
* About to connect() to {abc         


        
26条回答
  •  遇见更好的自我
    2020-11-22 08:36

    It might be sufficient to just update the list of certificates

    sudo update-ca-certificates -f
    

    update-ca-certificates is a program that updates the directory /etc/ssl/certs to hold SSL certificates and generates ca-certificates.crt, a concatenated single-file list of certificates.

提交回复
热议问题