Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@carlosdagos
Copy link
Contributor

Pre-submission checks

Please check these boxes:

If a checkbox is not applicable, you can leave it unchecked.

Summary

Enables the feature in reqwest to support (amongst other things) env vars SSL_CERT_DIR and SSL_CERT_FILE. This enables usage of zizmor behind TLS intercepting proxies.

Test Plan

  1. Test zizmor according to bug [BUG]: UnknownIssuer error when running audit behind TLS intercepting proxy #1327
  2. Check if there are any errors related to UnknownIssuer.

Specifically, it allows the usage of SSL_CERT_FILE which is useful
e.g. in corporate environments

Docs: https://docs.rs/reqwest/latest/reqwest/#tls
@carlosdagos carlosdagos changed the title Enable feature rustls-tls-native-roots in reqwest fix: enable feature rustls-tls-native-roots in reqwest Nov 10, 2025
@carlosdagos
Copy link
Contributor Author

I've marked this as a fix because of the expectations I outlined in the issue.

But happy to treat as a feature 😄

@woodruffw
Copy link
Member

I've marked this as a fix because of the expectations I outlined in the issue.

Fix make sense, thank you!

owo-colors.workspace = true
regex.workspace = true
reqwest = { workspace = true, features = ["blocking", "json", "rustls-tls"] }
reqwest = { workspace = true, features = ["blocking", "json", "rustls-tls", "rustls-tls-native-roots"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine, but noting: we'll probably want to use rustls-platform-verifier once available in reqwest.

Ref: seanmonstar/reqwest#2159

Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @carlosdagos!

@woodruffw woodruffw merged commit fadb2de into zizmorcore:main Nov 12, 2025
9 checks passed
@carlosdagos carlosdagos deleted the feat/rustls-native-certs branch November 12, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants