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

[DEVOPS-5452] Support different tls for dcap-artifact-retrieval #679

Closed
wants to merge 1 commit into from

Conversation

Taowyoo
Copy link
Collaborator

@Taowyoo Taowyoo commented Jan 13, 2025

Original native-tls in dcap-artifact-retrieval wont work in distroless container where no CA is
provided by system.

The solution I proposed here is to adding support
for choosing rustls as TLS provider for
reqwest, rustls will use
webpki-roots for default root CAs. Also the original
native-tls becomes addictive feature but remain default.

Original `native-tls` in `dcap-artifact-retrieval`
wont work in distroless container where no CA is
provided by system.

The solution I proposed here is to adding support
for choosing  `rustls` as TLS provider for
`reqwest`, `rustls` will use
[webpki-roots](https://crates.io/crates/webpki-roots)
for default root CAs. Also the original
`native-tls`  becomes addictive feature but remain
default.
@Taowyoo Taowyoo changed the title Support different tls for dcap-artifact-retrieval [DEVOPS-5452] Support different tls for dcap-artifact-retrieval Jan 13, 2025
@Taowyoo
Copy link
Collaborator Author

Taowyoo commented Jan 13, 2025

closed, since PR from fork cannot read secret set in upstream. creating another PR

@Taowyoo Taowyoo closed this Jan 13, 2025
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.

1 participant