intel / cve-bin-tool

The CVE Binary Tool helps you determine if your system includes known vulnerabilities. You can scan binaries for over 200 common, vulnerable components (openssl, libpng, libxml2, expat and others), or if you know the components used, you can get a list of known vulnerabilities associated with an SBOM or a list of components and versions.
https://cve-bin-tool.readthedocs.io/en/latest/
GNU General Public License v3.0
1.19k stars 457 forks source link

fix: [Cannot connect to host] #4414

Closed torabi12 closed 4 weeks ago

torabi12 commented 4 weeks ago

Description

How can I fix this issue?

kép

To reproduce

I execute this command:

$ cve-bin-tool --update now -n api2 --nvd-api-key MYAPIKEY Expected behaviour: Update the DB. Actual behaviour: Gives back the prompt.

Version/platform info

Ubuntu Desktop 22.04.1

terriko commented 4 weeks ago

Looks like NVD failed to update their SSL certificate. I'm not seeing anything similar in our logs from the cache update last night, so it may be fixed. Just try it again?

If that doesn't fix it, it's possible your network connection is doing something funky with the SSL that's breaking the cert. We can't really help if that's the case, but try going to https://nvd.nist.org from a web browser and see what happens -- it might help you debug what's going on.

torabi12 commented 4 weeks ago

Looks like it was a temporary error yesterday. Now it is updating well:

kép

The internet connection was OK I believe on my side, but who knows, nowadays everything can be wrong. :(

terriko commented 4 weeks ago

Glad it's fixed! I'll close this now.