Tracking issue: custom CA certificate support
Đang mở
Chưa có ai nhận issue này.
crypto
meta
never-stale
tls
- Ngôn ngữ chính
- JavaScript
- Star
- 122k
- Fork
- 37.4k
- Merge trung bình
- 4 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 272
Mô tả
Trying to track the recent changes that allow easier configuration of custom CA certificate for constrained environments and the backports
- Support
--use-system-cafor macOS https://github.com/nodejs/node/pull/56599 - Support
--use-system-cafor Windows https://github.com/nodejs/node/pull/56833 - Support
--use-system-cafor other Unix-like platforms: https://github.com/nodejs/node/pull/57009 - JS API to query CA certificates: https://github.com/nodejs/node/pull/57107
- JS API to configure the CA certificates https://github.com/nodejs/node/pull/58822
- Encouraging use of
--use-system-cain certificate errors: https://github.com/nodejs/node/pull/57362 - Fixing leak of
--use-system-cahttps://github.com/nodejs/node/pull/56832 - Add NODE_USE_SYSTEM_CA=1 https://github.com/nodejs/node/pull/59276
- Load system CA certificates off thread https://github.com/nodejs/node/pull/59550
- Only load certificates off thread when tls is used https://github.com/nodejs/node/pull/59856
- Make
--use-system-caa per-env option so that workers can enable/disable them individually https://github.com/nodejs/node/pull/60678 - Graceful handling of invalid certificates: https://github.com/nodejs/node/pull/61784 https://github.com/nodejs/node/pull/62576
- Implement certificate distrust on Windows to match Chromium's policy: https://github.com/nodejs/node/blob/5623194a6b16192084d2753a80c350c4ae3dec24/src/crypto/crypto_context.cc#L647-L648
- Make NODE_USE_SYSTEM_CA=0 disable system CA if it gets enabled by default
- Provide a build-time option to enable
--use-system-caby default - Enable --use-system-ca by default
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Rà soát các mục còn lại chưa được đánh dấu trong tracking issue này, bắt đầu từ vị trí xử lý certificate được tham chiếu trong src/crypto/crypto_context.cc quanh dòng 647 và các PR được liên kết 61784 và 62576. So sánh các mục đã hoàn thành và còn tồn đọng để hiểu phạm vi dự kiến. Được coi là hoàn tất khi các hành vi và tùy chọn certificate còn lại được liệt kê đã được triển khai và các mục checklist tương ứng có thể được đánh dấu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, node.js
- Lĩnh vực
- operating-systems, security
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100