libgit2 / libgit2/libgit2sharp
Certificate Verification Failed "unknown certificate lookup failure"
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C#
- Star
- 3.5k
- Fork
- 925
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I recently updated libgit2sharp (v0.26.2) to the latest v0.30.0.
Some of my product users are located in Taiwan, some are in China, and some are from Europe and the United States.
Before the upgrade, the company's internal repository could be accessed normally through the Repository.Clone API.
(URL and WorkDir only, no other options)
After the upgrade, users located in China will fail and get an error about SSL/TLS being unable to verify, as shown below.
We tried to troubleshoot other network issues and confirmed that all users were on the same OS version and supported TLS 1.2/1.3 only.
And do cross comparison with git CLI (git v2.43.0).
Everyone can download normally through the CLI, and will not encounter SSL/TLS verification errors when using libgit2sharp v0.26.2.
Only users located in China will encounter SSL/TLS verification failure in libgit2sharp v0.30.0.
Version of LibGit2Sharp (release number or SHA1)
v0.30.0
Operating system(s) tested; .NET runtime tested
Windows11
OS Build 22631.3593
Windows Feature Experience Pack 1000.22700.1003.0
.NET Framework 4.7.2
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
Bắt đầu từ Repository.Clone API và so sánh hành vi xác minh chứng chỉ giữa libgit2sharp v0.26.2 và v0.30.0. Tái hiện lỗi trên Windows 11 với .NET Framework 4.7.2 trong môi trường bị ảnh hưởng; công việc được xem là hoàn tất khi có thể clone repository nội bộ mà không gặp lỗi xác minh SSL/TLS.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, git
- Lĩnh vực
- devtools, security
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100