Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Fix certificate tests after Apple started blocking the Thawte…
… certificate. (#19650) The “Thawte SGC CA” certificate we're using for testing is now blocked by Apple, evaluating trust results in this error: > “Thawte SGC CA” certificate is blocked So update the mail_google_com certificates to what mail.google.com serves now, and also update the corresponding parent certificates (which have changed). Then adjust the tests accordingly. Finally delete all unused certificates from the code. Fixes these test failures: MonoTouchFixtures.Security.TrustTest [FAIL] Trust_FullChain : GetTrustResult-2 Expected: RecoverableTrustFailure But was: FatalTrustFailure at MonoTouchFixtures.Security.TrustTest.Trust_FullChain(SecTrust trust, SecPolicy policy, X509CertificateCollection certs) in /Users/builder/azdo/_work/1/s/xamarin-macios/tests/monotouch-test/Security/TrustTest.cs:line 389 at MonoTouchFixtures.Security.TrustTest.Trust_FullChain() in /Users/builder/azdo/_work/1/s/xamarin-macios/tests/monotouch-test/Security/TrustTest.cs:line 321 [FAIL] Trust2_FullChain : GetTrustResult-2 Expected: RecoverableTrustFailure But was: FatalTrustFailure at MonoTouchFixtures.Security.TrustTest.Trust_FullChain(SecTrust trust, SecPolicy policy, X509CertificateCollection certs) in /Users/builder/azdo/_work/1/s/xamarin-macios/tests/monotouch-test/Security/TrustTest.cs:line 389 at MonoTouchFixtures.Security.TrustTest.Trust2_FullChain() in /Users/builder/azdo/_work/1/s/xamarin-macios/tests/monotouch-test/Security/TrustTest.cs:line 449
- Loading branch information
eddde60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 [CI Build] Build failed 🔥
Build failed for the job 'Detect API changes'
Pipeline on Agent
Hash: eddde6007b2e3c72dbb4c505dc7ec7bf4b78a7e3 [CI build]
eddde60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 [CI Build] Build failed 🔥
Build failed for the job 'Build packages'
Pipeline on Agent
Hash: eddde6007b2e3c72dbb4c505dc7ec7bf4b78a7e3 [CI build]
eddde60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Unable to find the contents for the comment: D:\a\1\s\change-detection\results\gh-comment.md does not exist :fire
Pipeline on Agent
Hash: eddde6007b2e3c72dbb4c505dc7ec7bf4b78a7e3 [CI build]