MYCertificate now checks validity of self-signed certs loaded from the keychain (because the Security framework doesn't validate self-signed certs.)
1 -----BEGIN CERTIFICATE-----
2 MIIDpzCCAo+gAwIBAgIBATALBgkqhkiG9w0BAQEwezEUMBIGA1UEBBMLUG9vb3B5
3 c2hpbnMxIDAeBgkqhkiG9w0BCQETEXdhbGRvQGV4YW1wbGUuY29tMQ4wDAYDVQQD
4 EwV3YWxkbzEOMAwGA1UEKhMFV2FsZG8xITAfBgNVBA0TGEp1c3QgYSBmaWN0aXRp
5 b3VzIHBlcnNvbjAiGA8yMDA5MDQxMzA0NTQzNVoYDzIwMTAwNDE0MDQ1NDM1WjB7
6 MRQwEgYDVQQEEwtQb29vcHlzaGluczEgMB4GCSqGSIb3DQEJARMRd2FsZG9AZXhh
7 bXBsZS5jb20xDjAMBgNVBAMTBXdhbGRvMQ4wDAYDVQQqEwVXYWxkbzEhMB8GA1UE
8 DRMYSnVzdCBhIGZpY3RpdGlvdXMgcGVyc29uMIIBIjANBgkqhkiG9w0BAQEFAAOC
9 AQ8AMIIBCgKCAQEAlXE8Ngut8thXXr0nj6JroubQXh6wTqqfpvEb/TQVVgOLMHdS
10 XHrb9a7fOySbCOZ/d68mf/L+uF9My5ZSadvS8B8ZtlX8TqOoXy7eEf+A+Pwj5mLy
11 Y/aFBqnsB/fuQkmvGE8hLZJT2H9vfLyW5rpcq8j05zv2EAsG3PPumZ1BcPXdAF2i
12 SlShPtrd1QZ1QJ1nKKOHX6cYmOv32T1K+HQt+aDprW3CHPr8LRln5pJXW1blN2yM
13 8AjopELXh2hDqS6VAbFEinWt716AT+xtCXQNHqhELmf6w77F6jr12V2flSxQdxEB
14 xFlCKK0UECNSUyRihIR22YfTx9ZfkFfa8ehTdwIDAQABozQwMjALBgNVHQ8EBAMC
15 AvwwIwYDVR0lBBwwGgYIKwYBBQUHAwEGCCsGAQUFBwMCBgRVHSUAMA0GCSqGSIb3
16 DQEBBQUAA4IBAQB5yOeJUKEfy3OY9f4M+iWVskdvU2Lfv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