小编Tux*_*evo的帖子

使用货物构建箱子时无效的SSL证书

在定义依赖项(rand="0.3.0")之后尝试从教程(猜谜游戏)中的示例时,我得到了这个:

$ cargo build --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
Unable to update registry https://github.com/rust-lang/crates.io-index

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  [16] The SSL certificate is invalid
Run Code Online (Sandbox Code Playgroud)

将此添加到货物注册表git repo,但没有成功:

[http]
    sslVerify = false
Run Code Online (Sandbox Code Playgroud)

在哪里挖?

ssl github ssl-certificate rust rust-cargo

6
推荐指数
1
解决办法
1256
查看次数

标签 统计

github ×1

rust ×1

rust-cargo ×1

ssl ×1

ssl-certificate ×1