/etc/ssl/certs/ca-bundle.crt no longer discovered on Linux

Đang mở
#48 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

  • #49 của @autrilla — đã đóng, không merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, linux, rust
Lĩnh vực
security

Hướng nghiên cứu

Start with commit a0ae1a2a33b91eb19b69ec25c5c448040aaaaf37, which changed the certificate search so that relative names like certs/ca-bundle.crt are no longer tried under candidate directories such as /etc/ssl. Check the closed, unmerged PR #49 to see what was already attempted. Done means /etc/ssl/certs/ca-bundle.crt is discovered again on Linux while ca-certificates.crt still is, which you can verify with a test that lays out a fake /etc/ssl tree.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

There seems to be a regression caused by commit a0ae1a2a33b91eb19b69ec25c5c448040aaaaf37 for Linux images that expose the CA bundle at /etc/ssl/certs/ca-bundle.crt. In my case, it's a Docker image built with Nix. Before that commit, openssl-probe would search relative names like certs/ca-bundle.crt under candidate dirs such as /etc/ssl, so it would find /etc/ssl/certs/ca-bundle.crt. After the change, /etc/ssl/certs/ca-certificates.crt would be included, but /etc/ssl/certs/ca-bundle.crt is not. I depend on openssl-probe through native-tls, and upgrading from 0.2.13 to 0.2.18 bumps openssl-probe from 0.1.6 to 0.2.1, resulting in breakage.

Ngôn ngữ chính
Rust
Star
61
Fork
23
Merge trung bình
43 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rustls/openssl-probe

Tất cả issue của rustls/openssl-probe

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.