我按照本指南在本地主机上安装了经过认证的自签名SSL证书,并且在Chrome中都正常工作(不再有任何警告,如果在localhost页面上使用https,一切都是绿色的):
但是,如果我通过CURL在Ubuntu控制台上运行相同的请求,将无法获得本地颁发者证书
aherne@home-NUC8i7INH:~$ curl https://localhost
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/s
我试图让Rust和Cargo在运行11 (SLES11)的VM上工作,并在编译示例程序时获得SSL错误:
cargo --version
cargo 0.13.0-nightly (109cb7c 2016-08-19)
cargo build --verbose
Downloading rustc-serialize v0.3.19
error: unable to get packages from source
Caused by:
[60] Peer certificate cannot be authenticated with given CA certificates
吉特和