nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

SSL validation invalid with libssl47 #142

Open Szpadel opened 4 years ago

Szpadel commented 4 years ago

When I tried to use this on one of my systems I was always getting error:

    Updating registry 'https://github.com/rust-lang/crates.io-index'                                                                                                                                                                           
Failed to update index repository: the SSL certificate is invalid.

But on my other system everything went fine, after debugging with strace I figured our difference in ssl library used

it looks like there is some incompatibility with libssl47 (with libressl-devel) and replacing it openssl-devel solved the issue

I'm not sure if this is issue of this crate (probably fault at some ssl dependency) but maybe someone will look for solution here