What version of Go are you using (go version)?
go version go1.14.6
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
windows/amd64
What did you do?
I just run the test instruction in my desktop (go test crypto/x509) .
What did you expect to see?
get the right certificate chain in the test.
What did you see instead?
There was an error followed:
--- FAIL: TestSystemVerify (0.03s)
--- FAIL: TestSystemVerify/SHA-384 (0.00s)
verify_test.go:584: 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/COMODO CA Limited//COMODO RSA Certification Authority -> GB/Comodo CA Limited//AAA Certificate Services
The expected chain in the verify_test is:
expectedChains: [][]string{
{
"api.moip.com.br",
"COMODO RSA Extended Validation Secure Server CA",
"COMODO RSA Certification Authority",
"AddTrust External CA Root",
},
},
I'm wondering if this is a wrong of mine alone or we should update the test case either.
What version of Go are you using (
go version)?go version go1.14.6
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env)?windows/amd64
What did you do?
I just run the test instruction in my desktop (go test crypto/x509) .
What did you expect to see?
get the right certificate chain in the test.
What did you see instead?
There was an error followed:
--- FAIL: TestSystemVerify (0.03s)
--- FAIL: TestSystemVerify/SHA-384 (0.00s)
verify_test.go:584: 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/COMODO CA Limited//COMODO RSA Certification Authority -> GB/Comodo CA Limited//AAA Certificate Services
The expected chain in the verify_test is:
expectedChains: [][]string{
{
"api.moip.com.br",
"COMODO RSA Extended Validation Secure Server CA",
"COMODO RSA Certification Authority",
"AddTrust External CA Root",
},
},
I'm wondering if this is a wrong of mine alone or we should update the test case either.