小编use*_*540的帖子

curl:(60)SSL证书:无法获得本地颁发者证书

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} port 21 (#0)
*   Trying {abc}...
* Connected to {abc} ({abc}) port 21 (#0)
< 220-Cerberus FTP Server - Home Edition
< 220-This is the UNLICENSED Home Edition and may be used for home, personal use only
< 220-Welcome to Cerberus FTP Server
< 220 Created by Cerberus, LLC
> AUTH SSL
< 234 Authentication method accepted
* successfully set certificate verify locations:
*   CAfile: …
Run Code Online (Sandbox Code Playgroud)

ssl curl openssl ssl-certificate x509certificate

202
推荐指数
16
解决办法
45万
查看次数

标签 统计

curl ×1

openssl ×1

ssl ×1

ssl-certificate ×1

x509certificate ×1