Skip to content

Commit

Permalink
Updated GMail SSL certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Jan 23, 2022
1 parent 6e05286 commit a818ada
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions MailKit/MailService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -434,30 +434,30 @@ internal static bool IsKnownMailServerCertificate (X509Certificate2 certificate)
case "imap.gmail.com":
switch (issuer) {
case GMailCertificateIssuer:
return (serial == "3D490726264C73630A0000000119533C" && fingerprint == "663B1630FCAAFBC30038BC2623F7DA087482C0FD") // Expires 1/23/2022 9:54:50 PM
|| (serial == "2265A3434A5225380A00000001224DAF" && fingerprint == "52A853B1121A4B1A7C5DBDBFD6CE39F068888A2B") // Expires 1/31/2022 3:11:05 AM
return (serial == "2265A3434A5225380A00000001224DAF" && fingerprint == "52A853B1121A4B1A7C5DBDBFD6CE39F068888A2B") // Expires 1/31/2022 3:11:05 AM
|| (serial == "00EC67725FAF05E6FD0A0000000125FF83" && fingerprint == "FF388B1BC174CBC3069B8709AB0CD93AF8077E94") // Expires 2/20/2022 10:08:30 PM
|| (serial == "046BC24DECDA5A6B0A0000000127DC6E" && fingerprint == "084398CE28512023437CC8B417230F82B39CACDA"); // Expires 3/2/2022 5:19:16 PM
|| (serial == "046BC24DECDA5A6B0A0000000127DC6E" && fingerprint == "084398CE28512023437CC8B417230F82B39CACDA") // Expires 3/2/2022 5:19:16 PM
|| (serial == "6A3FFF463AE7156B0A000000012B7FF0" && fingerprint == "8E7E263CC155C62F07F7B5EEFBF1534EDDE18890"); // Expires 3/21/2022 3:44:38 AM
default:
return false;
}
case "pop.gmail.com":
switch (issuer) {
case GMailCertificateIssuer:
return (serial == "34C1C63D8A354B9E0A0000000119533E" && fingerprint == "081431D1D4E703B9038F630F29CE43D1505E7DA6") // Expires 1/23/2022 9:55:03 PM
|| (serial == "32D8D7A3EB3680B80A00000001224DB8" && fingerprint == "664F07AEDFC6D1BB25669D6470CC84371F30146D") // Expires 1/31/2022 3:11:21 AM
return (serial == "32D8D7A3EB3680B80A00000001224DB8" && fingerprint == "664F07AEDFC6D1BB25669D6470CC84371F30146D") // Expires 1/31/2022 3:11:21 AM
|| (serial == "309330098BF137760A0000000125FF88" && fingerprint == "30E95BB5541E924141CAEAB01B48FF20B308ED3C") // Expires 2/20/2022 10:08:45 PM
|| (serial == "053FC7A9BF15DCD90A0000000127DC72" && fingerprint == "DD6D24F2EC8DDB330C092C4E09340B3803B08062"); // Expires 3/2/2022 5:19:31 PM
|| (serial == "053FC7A9BF15DCD90A0000000127DC72" && fingerprint == "DD6D24F2EC8DDB330C092C4E09340B3803B08062") // Expires 3/2/2022 5:19:31 PM
|| (serial == "5280627D1577C4340A000000012B7FF3" && fingerprint == "043B07F8568296BF0732922EA2F2B1D5225799B5"); // Expires 3/21/2022 3:44:52 AM
default:
return false;
}
case "smtp.gmail.com":
switch (issuer) {
case GMailCertificateIssuer:
return (serial == "7A99E46AA12130370A00000001195354" && fingerprint == "57A74EA716DC96B74035A7C08CD9649FBF2D834A") // Expires 1/23/2022 9:56:15 PM
|| (serial == "00BDF6AD1401715D6B0A00000001224DCA" && fingerprint == "4B4948C238114FC92F31C59E5B85C73D1E47BADB") // Expires 1/31/2022 3:12:48 AM
return (serial == "00BDF6AD1401715D6B0A00000001224DCA" && fingerprint == "4B4948C238114FC92F31C59E5B85C73D1E47BADB") // Expires 1/31/2022 3:12:48 AM
|| (serial == "00F3402FC1B5A7247E0A0000000125FFA2" && fingerprint == "2B4D501A49992D659F9FFBA5D18D09E431BA9CEB") // Expires 2/20/2022 10:10:08 PM
|| (serial == "00FDAE95407FD0D7510A0000000127DC80" && fingerprint == "C350243812AB4D6EDCBB59ED90B3139EB96957F8"); // Expires 3/2/2022 5:20:56 PM
|| (serial == "00FDAE95407FD0D7510A0000000127DC80" && fingerprint == "C350243812AB4D6EDCBB59ED90B3139EB96957F8") // Expires 3/2/2022 5:20:56 PM
|| (serial == "0FC2B2627A5FF8FC0A000000012B7FFE" && fingerprint == "1A22D54BAFDC0916547CB0D80F39EA88954C8F5B"); // Expires 3/21/2022 3:46:10 AM
default:
return false;
}
Expand Down

0 comments on commit a818ada

Please sign in to comment.