golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.99k stars 17.54k forks source link

crypto/x509: No expected chain matched #7824

Closed peterGo closed 9 years ago

peterGo commented 10 years ago
Windows 7 with all updates applied.

C:\go\src>go version
go version devel +70af843fed44 Sat Apr 19 09:55:09 2014 +0200 windows/amd64

C:\go\src\pkg\crypto\x509>go test
--- FAIL: TestSystemVerify (0.03 seconds)
        verify_test.go:382: #15: No expected chain matched BR/Moip Pagamentos S.A./MOIP,SSL Blindado
 EV/api.moip.com.br -> GB/COMODO CA Limited//COMODO RSA Extended Validation Secure Server CA -> GB/C
OMODO CA Limited//COMODO RSA Certification Authority
FAIL
exit status 1
FAIL    crypto/x509     1.117s
ianlancetaylor commented 10 years ago

Comment 1:

Labels changed: added repo-main, release-go1.4.

gopherbot commented 10 years ago

Comment 2 by r@varp.se:

After reverting https://code.google.com/p/go/source/detail?r=fa4c16e1888b all tests are
passing on the aforementioned platform (Windows 7 with all updates applied).
rsc commented 10 years ago

Comment 3:

If you update your Windows system I bet this will start working. It's just a mismatch
between the trusted certs on the Windows machine and the trusted certs the test expects
on the Windows machine. Not a big deal either way.

Status changed to WorkingAsIntended.