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

Add opt --root-ceritificates & env BINSTALL_HTTPS_ROOT_CERTS #820

Merged
merged 7 commits into from
Feb 20, 2023

Conversation

NobodyXu
Copy link
Member

@NobodyXu NobodyXu commented Feb 20, 2023

for specifying root ceritificates used for https connnections.

And remove old environment variable CARGO_HTTP_CAINFO, SSL_CERT_FILE
and SSL_CERT_PATH to avoid accidentally setting them, especially in CI
env.

Also:

  • Rm fn binstalk_downloader::Certificate::from_env
  • Enable feature env of dep clap in crates/bin
  • Add new dep file-format v0.14.0 to crates/bin
  • Use file-format to determine pem/der file format when loading root certs
  • Rm fn binstalk_downloader::Certificate::open and enum binstalk_downloader::OpenCertificateError

Signed-off-by: Jiahao XU [email protected]

for specifying root ceritificates used for https connnections.

And remove old environment variable `CARGO_HTTP_CAINFO`, `SSL_CERT_FILE`
and `SSL_CERT_PATH` to avoid accidentally setting them, especially in CI
env.

Signed-off-by: Jiahao XU <[email protected]>
@NobodyXu NobodyXu requested a review from passcod February 20, 2023 09:03
@NobodyXu NobodyXu changed the title Add opt --root-ceritificates & env BINSTALL_HTTPS_ROOT_CERTS Add opt --root-ceritificates & env BINSTALL_HTTPS_ROOT_CERTS Feb 20, 2023
crates/bin/src/args.rs Outdated Show resolved Hide resolved
Co-authored-by: Félix Saparelli <[email protected]>
@NobodyXu NobodyXu requested a review from passcod February 20, 2023 09:09
@NobodyXu NobodyXu merged commit 7bc4d4a into main Feb 20, 2023
@NobodyXu NobodyXu deleted the cert-adjust branch February 20, 2023 09:48
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