libgit2 / libgit2/libgit2sharp
Certificate Verification Failed "unknown certificate lookup failure"
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 3.5k
- Fork
- 925
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Iniziare dall'API Repository.Clone e confrontare il comportamento della verifica dei certificati tra libgit2sharp v0.26.2 e v0.30.0. Riprodurre il problema in Windows 11 con .NET Framework 4.7.2 nell'ambiente interessato; l'attività è completata quando il repository interno può essere clonato senza l'errore di verifica SSL/TLS.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, git
- Ambito
- devtools, security
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100