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

cargo-about ignores system SSL certificates #238

Closed
arvid-norlander opened this issue Nov 21, 2023 · 1 comment · Fixed by #263
Closed

cargo-about ignores system SSL certificates #238

arvid-norlander opened this issue Nov 21, 2023 · 1 comment · Fixed by #263
Labels
bug Something isn't working

Comments

@arvid-norlander
Copy link

Describe the bug
I'm behind a corporate proxy, specifically a transparent HTTPS proxy. This means I need to have a CA certificate installed, but I don't need to set any environment variables. cargo-about seems to ignore the SSL certificates in /etc/ssl/certs

To Reproduce
Steps to reproduce the behavior:

  1. Be behind a HTTPS proxy
  2. Run cargo about generate about.hbs
  3. See warnings
2023-11-21 15:18:13.142344125 +00:00:00 [WARN] failed to request license information from clearly defined: error sending request for url (https://api.clearlydefined.io/definitions): error trying to connect: invalid peer certificate: UnknownIssuer
2023-11-21 15:18:13.143837193 +00:00:00 [WARN] failed to request license information from clearly defined: error sending request for url (https://api.clearlydefined.io/definitions): error trying to connect: invalid peer certificate: UnknownIssuer
2023-11-21 15:18:13.144103949 +00:00:00 [WARN] failed to request license information from clearly defined: error sending request for url (https://api.clearlydefined.io/definitions): error trying to connect: invalid peer certificate: UnknownIssuer
[and so on]

Expected behavior
cargo-about should respect CA certificates from the system.

Device:

  • OS: Ubuntu 22.04 LTS
  • Version: cargo-about 0.5.7
  • Built with cargo install --locked
  • rustc 1.74.0 (79e9716c9 2023-11-13)

Additional context
Add any other context about the problem here.

@arvid-norlander arvid-norlander added the bug Something isn't working label Nov 21, 2023
@Blockmaster2706
Copy link

Facing the same issue on Windows 11 behind an instance of ZScaler. Root CA Certificate is seemingly not being respected.

OS: Windows 11 Enterprise 22H2
Version: cargo-about 0.6.4
Installed with cargo install --locked cargo-about
rustc 1.77.1 (7cf61ebde 2024-03-27)

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.

2 participants