Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: updating to v14.0.x yields "invalid peer certificate: UnknownIssuer" #553

Closed
georglauterbach opened this issue Sep 1, 2023 · 0 comments · Fixed by #549
Closed

Bug: updating to v14.0.x yields "invalid peer certificate: UnknownIssuer" #553

georglauterbach opened this issue Sep 1, 2023 · 0 comments · Fixed by #549
Labels
bug Something isn't working

Comments

@georglauterbach
Copy link

georglauterbach commented Sep 1, 2023

Describe the bug

We're running cargo-deny behind a corporate proxy that does a SSL man-in-the-middle to replace certificates. The certificates are installed in /usr/share/certificates. While v13.9.0 works flawlessly, v14.0.x yields the following error:

[ERROR] failed to fetch advisory database https://github.com/rustsec/advisory-db: An IO error occurred when talking to the server: error sending request for url (https://github.com/rustsec/advisory-db/info/refs?service=git-upload-pack): error trying to connect: invalid peer certificate: UnknownIssuer

We think this may be related to #520.

To reproduce

Run cargo-deny >=v14.0.0 behind a (corporate) proxy that changes certificates.

cargo-deny version

0.14.1

What OS were you running cargo-deny on?

Linux

Additional context

We installed our certificates in the system store via update-ca-certificates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant