https://github.com/mono/mono/pull/4470 ran across this gem:
SecCertificateCreateWithData with an invalid certificate returns an actual item on 10.11, but null on 10.12
This makes the test fail, but only on mono bots.
I disabled the test for now.
[MacNotWorking] // SecCertificateCreateWithData does different things on 10.11 vs 10.12 with invalid certificates
public void Certificate7 ()
We should do something better when we're not blocking a merge.
Interesting! I have macOS Sierra 10.2.3.
We should investigate whether the SecCertificateRef that's returned on 10.11 has some properties which would identify it as an invalid certificate.
It'd also be interesting to check why exactly the certificate from that test is invalid.
Let's just disable the test for now, I'll have a look at it.
More information about how this expressed itself in tests here https://bugzilla.xamarin.com/show_bug.cgi?id=53958