Skip to content

error: failed to fetch https://github.com/rust-lang/crates.io-index - Caused by: [16/-17] The SSL certificate is invalid #3344

Closed
@gac55

Description

@gac55

I am using a dockerfile to build an environment with Rust. I have been using this as a base.
Error:
Updating registry `https://github.com/rust-lang/crates.io-index` error: failed to fetch `https://github.com/rust-lang/crates.io-index

It has previously functioned fine. What has changed to cause this?

Steps to reproduce -

Clone above repo and build via docker build -t "test:latest" /path/to/repo/

Edit, I added the verbose output and got the following:

Caused by: [16/-17] The SSL certificate is invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions