From ba4238910ed7551e82a6e7eaa7e7460e0acb54dd Mon Sep 17 00:00:00 2001 From: Jeff Kelley Date: Wed, 10 Oct 2018 23:02:34 -0400 Subject: [PATCH] Update HTTPBin certificates, good through December 2018. --- AFNetworking.xcodeproj/project.pbxproj | 16 ++++++++-------- .../HTTPBinOrgServerTrustChain/httpbin_0.cer | Bin 1559 -> 1557 bytes .../HTTPBin.org/httpbinorg_10102018.cer | Bin 1559 -> 0 bytes .../HTTPBin.org/httpbinorg_12092018.cer | Bin 0 -> 1557 bytes Tests/Tests/AFSecurityPolicyTests.m | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 Tests/Resources/HTTPBin.org/httpbinorg_10102018.cer create mode 100644 Tests/Resources/HTTPBin.org/httpbinorg_12092018.cer diff --git a/AFNetworking.xcodeproj/project.pbxproj b/AFNetworking.xcodeproj/project.pbxproj index 2c5ef4180a..8f164cfa12 100644 --- a/AFNetworking.xcodeproj/project.pbxproj +++ b/AFNetworking.xcodeproj/project.pbxproj @@ -10,15 +10,15 @@ 1BF9F9601C87832B00F1F35A /* AFImageResponseSerializerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BF9F95F1C87832B00F1F35A /* AFImageResponseSerializerTests.m */; }; 1BF9F9611C87843200F1F35A /* AFImageResponseSerializerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BF9F95F1C87832B00F1F35A /* AFImageResponseSerializerTests.m */; }; 1BF9F9621C87843300F1F35A /* AFImageResponseSerializerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1BF9F95F1C87832B00F1F35A /* AFImageResponseSerializerTests.m */; }; + 1F0B1DC6216EF28A00CB1F28 /* httpbinorg_12092018.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F0B1DC5216EF28A00CB1F28 /* httpbinorg_12092018.cer */; }; + 1F0B1DC7216EF28A00CB1F28 /* httpbinorg_12092018.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F0B1DC5216EF28A00CB1F28 /* httpbinorg_12092018.cer */; }; + 1F0B1DC8216EF28A00CB1F28 /* httpbinorg_12092018.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F0B1DC5216EF28A00CB1F28 /* httpbinorg_12092018.cer */; }; 1F6F7DF71F17051000C979D0 /* DST Root CA X3.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F6F7DF61F1703A100C979D0 /* DST Root CA X3.cer */; }; 1F6F7DF81F17051000C979D0 /* Let's Encrypt Authority X3.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F6F7DF51F1703A100C979D0 /* Let's Encrypt Authority X3.cer */; }; 1F6F7DFA1F17051000C979D0 /* DST Root CA X3.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F6F7DF61F1703A100C979D0 /* DST Root CA X3.cer */; }; 1F6F7DFB1F17051000C979D0 /* Let's Encrypt Authority X3.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F6F7DF51F1703A100C979D0 /* Let's Encrypt Authority X3.cer */; }; 1F6F7DFD1F17051100C979D0 /* DST Root CA X3.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F6F7DF61F1703A100C979D0 /* DST Root CA X3.cer */; }; 1F6F7DFE1F17051100C979D0 /* Let's Encrypt Authority X3.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F6F7DF51F1703A100C979D0 /* Let's Encrypt Authority X3.cer */; }; - 1F73A747211B6C0C00AFCFA5 /* httpbinorg_10102018.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F73A746211B6C0C00AFCFA5 /* httpbinorg_10102018.cer */; }; - 1F73A748211B6C0C00AFCFA5 /* httpbinorg_10102018.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F73A746211B6C0C00AFCFA5 /* httpbinorg_10102018.cer */; }; - 1F73A749211B6C0C00AFCFA5 /* httpbinorg_10102018.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1F73A746211B6C0C00AFCFA5 /* httpbinorg_10102018.cer */; }; 1F96D2A4203649560085FC3F /* AFCompatibilityMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F083A4920364648004D80C7 /* AFCompatibilityMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; 1F96D2A5203649570085FC3F /* AFCompatibilityMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F083A4920364648004D80C7 /* AFCompatibilityMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; 1F96D2A6203649570085FC3F /* AFCompatibilityMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F083A4920364648004D80C7 /* AFCompatibilityMacros.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -234,9 +234,9 @@ /* Begin PBXFileReference section */ 1BF9F95F1C87832B00F1F35A /* AFImageResponseSerializerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFImageResponseSerializerTests.m; sourceTree = ""; }; 1F083A4920364648004D80C7 /* AFCompatibilityMacros.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AFCompatibilityMacros.h; sourceTree = ""; }; + 1F0B1DC5216EF28A00CB1F28 /* httpbinorg_12092018.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = httpbinorg_12092018.cer; sourceTree = ""; }; 1F6F7DF51F1703A100C979D0 /* Let's Encrypt Authority X3.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Let's Encrypt Authority X3.cer"; sourceTree = ""; }; 1F6F7DF61F1703A100C979D0 /* DST Root CA X3.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DST Root CA X3.cer"; sourceTree = ""; }; - 1F73A746211B6C0C00AFCFA5 /* httpbinorg_10102018.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = httpbinorg_10102018.cer; sourceTree = ""; }; 2960BAC21C1B2F1A00BA02F0 /* AFUIButtonTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFUIButtonTests.m; sourceTree = ""; }; 297824A01BC2D69A0041C395 /* adn_0.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = adn_0.cer; path = ADNNetServerTrustChain/adn_0.cer; sourceTree = ""; }; 297824A11BC2D69A0041C395 /* adn_1.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = adn_1.cer; path = ADNNetServerTrustChain/adn_1.cer; sourceTree = ""; }; @@ -412,7 +412,7 @@ 298D7CE21BC2CB7C00FD3B3E /* HTTPBinOrgServerTrustChain */, 1F6F7DF61F1703A100C979D0 /* DST Root CA X3.cer */, 1F6F7DF51F1703A100C979D0 /* Let's Encrypt Authority X3.cer */, - 1F73A746211B6C0C00AFCFA5 /* httpbinorg_10102018.cer */, + 1F0B1DC5216EF28A00CB1F28 /* httpbinorg_12092018.cer */, ); path = HTTPBin.org; sourceTree = ""; @@ -855,6 +855,7 @@ 2987B0D41BC40AE900179A4C /* adn_1.cer in Resources */, 2987B0DD1BC40AFB00179A4C /* AltName.cer in Resources */, 2987B0D71BC40AF000179A4C /* HTTPBinOrgServerTrustChain in Resources */, + 1F0B1DC8216EF28A00CB1F28 /* httpbinorg_12092018.cer in Resources */, 2987B0D31BC40AE900179A4C /* adn_0.cer in Resources */, 2987B0DC1BC40AF600179A4C /* logo.png in Resources */, 2987B0D51BC40AE900179A4C /* adn_2.cer in Resources */, @@ -864,7 +865,6 @@ 5F4323BD1BF63741003B8749 /* Equifax_Secure_Certificate_Authority_Root.cer in Resources */, 5F4323DF1BF63CCC003B8749 /* GeoTrust_Global_CA_Root.cer in Resources */, 5F4323C01BF63741003B8749 /* GeoTrust_Global_CA-cross.cer in Resources */, - 1F73A749211B6C0C00AFCFA5 /* httpbinorg_10102018.cer in Resources */, 1F6F7DFD1F17051100C979D0 /* DST Root CA X3.cer in Resources */, 5F4323CF1BF63741003B8749 /* GoogleInternetAuthorityG2.cer in Resources */, 5F4323C31BF63741003B8749 /* google.com.cer in Resources */, @@ -881,6 +881,7 @@ 298D7CE31BC2CB7C00FD3B3E /* HTTPBinOrgServerTrustChain in Resources */, 297824A71BC2D69A0041C395 /* adn_2.cer in Resources */, 297824A51BC2D69A0041C395 /* adn_1.cer in Resources */, + 1F0B1DC6216EF28A00CB1F28 /* httpbinorg_12092018.cer in Resources */, 298D7CC01BC2CA9D00FD3B3E /* NoDomains.cer in Resources */, 298D7CE01BC2CB5A00FD3B3E /* ADNNetServerTrustChain in Resources */, 298D7CBE1BC2CA9D00FD3B3E /* AltName.cer in Resources */, @@ -890,7 +891,6 @@ 5F4323BB1BF63741003B8749 /* Equifax_Secure_Certificate_Authority_Root.cer in Resources */, 5F4323DD1BF63CCC003B8749 /* GeoTrust_Global_CA_Root.cer in Resources */, 5F4323BE1BF63741003B8749 /* GeoTrust_Global_CA-cross.cer in Resources */, - 1F73A747211B6C0C00AFCFA5 /* httpbinorg_10102018.cer in Resources */, 1F6F7DF71F17051000C979D0 /* DST Root CA X3.cer in Resources */, 5F4323CD1BF63741003B8749 /* GoogleInternetAuthorityG2.cer in Resources */, 5F4323C11BF63741003B8749 /* google.com.cer in Resources */, @@ -907,6 +907,7 @@ 298D7CE41BC2CB7C00FD3B3E /* HTTPBinOrgServerTrustChain in Resources */, 297824A81BC2D69A0041C395 /* adn_2.cer in Resources */, 297824A61BC2D69A0041C395 /* adn_1.cer in Resources */, + 1F0B1DC7216EF28A00CB1F28 /* httpbinorg_12092018.cer in Resources */, 298D7CBD1BC2CA9C00FD3B3E /* NoDomains.cer in Resources */, 298D7CE11BC2CB5A00FD3B3E /* ADNNetServerTrustChain in Resources */, 298D7CBB1BC2CA9C00FD3B3E /* AltName.cer in Resources */, @@ -916,7 +917,6 @@ 5F4323BC1BF63741003B8749 /* Equifax_Secure_Certificate_Authority_Root.cer in Resources */, 5F4323CE1BF63741003B8749 /* GoogleInternetAuthorityG2.cer in Resources */, 5F4323DE1BF63CCC003B8749 /* GeoTrust_Global_CA_Root.cer in Resources */, - 1F73A748211B6C0C00AFCFA5 /* httpbinorg_10102018.cer in Resources */, 1F6F7DFA1F17051000C979D0 /* DST Root CA X3.cer in Resources */, 5F4323BF1BF63741003B8749 /* GeoTrust_Global_CA-cross.cer in Resources */, 5F4323C21BF63741003B8749 /* google.com.cer in Resources */, diff --git a/Tests/Resources/HTTPBin.org/HTTPBinOrgServerTrustChain/httpbin_0.cer b/Tests/Resources/HTTPBin.org/HTTPBinOrgServerTrustChain/httpbin_0.cer index eca17c94e01fcd4efe67580197be8f5032bd8c08..167ebcd5862fd535732d8ef33d97eeca6b8dcf73 100644 GIT binary patch delta 878 zcmV-!1Cjif43!KaFoFgVFoFd6paTK{0s;~Pb3{$=VsA_l>)XYTKUIDye~}?#7&$R8 zGBYqRH8@%q4KX+|GB7zZGcYhUIFXw=f6{X5aG$Ig6`eMFI(>P|KetAfB()) z>P{=AJ#5G>g$U`P|4PjYoob~~mxy8PMrxfPI@WT2>@$^_e0!V2s9Oz$>RW?8Nbgmk z#Ld6GS~*c6`NWGM9M+9Z&RXH^ce55Ok^0|5X5qk;n?FoFXgli~qL6aiFjCh1VG8`H)C zE8LP~y}#r2XtO>7zX25k1_~<%0R#coc>)9i1cCGff$;$ElM)0be`Uq)VNd`71Oos^ zFhv3&Pc~)}niT7-zMj4nqdKIYGY)O;F`}y?ge7DoCKzHU0wDn8pAN?uxqzG1P`7eq zG1$?cPK0rY2Cq!|J0D}-1xMcibpYFRukOn!?6LmJK5=a<<+-Z6Hur>agU4N+PdBz7 zzhnRa0cFMRV?qD`e*^;nMleJIAY!-TsH}H1rm^{_O7%}pdf~rtsn}Nio!$TZlZ&CJ zg90F21gDAhYA?tM1-TOmO<0w7ypgM0I*E}+Tx{A zkAuD#XC4c9_2Y!g8rLI$fHaZF>&J8qqBun$fZ&si#v&E(>8+xef6vwE`(LJK$CplcO>)})J-2CR6!3H* zsuA6<64*sEU{EDFKBRd{6}XTkLwo&=v!7RQnX^kQsP=n_)@LmbW6Jl-bth zqN+{K_a(wT50_?F3!zvZbrAd7pbL?L(fKpHkWe0=1b;S^{>9aPbi4&8>jEh2G$Y<7 E54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36m>QMNs0x@~ zZ!7Mh`}RW7&|Ru(q}gTo+{}%QQIRY9FO*+$pG=KPY5Y8Q``RCE>m+mcia&UD?-sBb z!9>*$$|_@5mzJ(1FLS$RUmQMIP?~~ZyU@}D6A^ArO!@_LCO`B@ zOigA*QT5f^?Ow58{UAT@vv85<_M2{zzz{R|c>KWh28$JsGcvRMMxsP1-MI0RM+0Lo zuCFxbm9sKXVz-?6tOq*Fhq@jV2W6zxT1jnKaT9&1&DOs=Bqy)VY#M5$3=7xsu;lxP zzrJQ~F*X?K-bCyy&|^w?OGN^oett@{M%^v>b<`dgMX zGWa=r@X*_F2{}T)mZR17g;{qx`U}hXEt8JFc$pjv`;=7>Y7_m|^R9eWrnYU0TXRTY blaD63XU#OUCsH+Z=OJX-&}xSsCzHPcZ5K*t literal 0 HcmV?d00001 diff --git a/Tests/Tests/AFSecurityPolicyTests.m b/Tests/Tests/AFSecurityPolicyTests.m index 69418e129f..7c3bf49cbb 100644 --- a/Tests/Tests/AFSecurityPolicyTests.m +++ b/Tests/Tests/AFSecurityPolicyTests.m @@ -58,7 +58,7 @@ static SecTrustRef AFUTADNNetServerTrust() { } static SecCertificateRef AFUTHTTPBinOrgCertificate() { - NSString *certPath = [[NSBundle bundleForClass:[AFSecurityPolicyTests class]] pathForResource:@"httpbinorg_10102018" ofType:@"cer"]; + NSString *certPath = [[NSBundle bundleForClass:[AFSecurityPolicyTests class]] pathForResource:@"httpbinorg_12092018" ofType:@"cer"]; NSCAssert(certPath != nil, @"Path for certificate should not be nil"); NSData *certData = [NSData dataWithContentsOfFile:certPath];