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

前端 未结 26 2425
我寻月下人不归
我寻月下人不归 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:23

    You have to change server cert from cert.pem to fullchain.pem
    I had the same issue with Perl HTTPS Daemon:
    I have changed:
    SSL_cert_file => '/etc/letsencrypt/live/mydomain/cert.pem'
    to:
    SSL_cert_file => '/etc/letsencrypt/live/mydomain/fullchain.pem'

提交回复
热议问题