Skip to content

Commit 3641532

Browse files
committed
Update HTTPBin certificates that expired.
The new expiry date is 1/19/2017.
1 parent aa9b5f5 commit 3641532

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

AFNetworking.xcodeproj/project.pbxproj

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
1FE783011C5857A100A73B7C /* httpbinorg_01192017.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1FE783001C58579D00A73B7C /* httpbinorg_01192017.cer */; };
11+
1FE783021C5857A100A73B7C /* httpbinorg_01192017.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1FE783001C58579D00A73B7C /* httpbinorg_01192017.cer */; };
12+
1FE783031C5857A200A73B7C /* httpbinorg_01192017.cer in Resources */ = {isa = PBXBuildFile; fileRef = 1FE783001C58579D00A73B7C /* httpbinorg_01192017.cer */; };
1013
2960BAC31C1B2F1A00BA02F0 /* AFUIButtonTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2960BAC21C1B2F1A00BA02F0 /* AFUIButtonTests.m */; };
1114
297824A31BC2D69A0041C395 /* adn_0.cer in Resources */ = {isa = PBXBuildFile; fileRef = 297824A01BC2D69A0041C395 /* adn_0.cer */; };
1215
297824A41BC2D69A0041C395 /* adn_0.cer in Resources */ = {isa = PBXBuildFile; fileRef = 297824A01BC2D69A0041C395 /* adn_0.cer */; };
@@ -51,7 +54,6 @@
5154
2987B0D81BC40AF300179A4C /* AddTrust_External_CA_Root.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C6E1BC2C88F00FD3B3E /* AddTrust_External_CA_Root.cer */; };
5255
2987B0D91BC40AF300179A4C /* COMODO_RSA_Certification_Authority.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C6F1BC2C88F00FD3B3E /* COMODO_RSA_Certification_Authority.cer */; };
5356
2987B0DA1BC40AF300179A4C /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C701BC2C88F00FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer */; };
54-
2987B0DB1BC40AF300179A4C /* httpbinorg_01162016.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C711BC2C88F00FD3B3E /* httpbinorg_01162016.cer */; };
5557
2987B0DC1BC40AF600179A4C /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C771BC2C88F00FD3B3E /* logo.png */; };
5658
2987B0DD1BC40AFB00179A4C /* AltName.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C791BC2C88F00FD3B3E /* AltName.cer */; };
5759
2987B0DE1BC40AFB00179A4C /* foobar.com.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C7A1BC2C88F00FD3B3E /* foobar.com.cer */; };
@@ -78,11 +80,9 @@
7880
298D7CC11BC2CAA100FD3B3E /* AddTrust_External_CA_Root.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C6E1BC2C88F00FD3B3E /* AddTrust_External_CA_Root.cer */; };
7981
298D7CC21BC2CAA100FD3B3E /* COMODO_RSA_Certification_Authority.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C6F1BC2C88F00FD3B3E /* COMODO_RSA_Certification_Authority.cer */; };
8082
298D7CC31BC2CAA100FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C701BC2C88F00FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer */; };
81-
298D7CC41BC2CAA100FD3B3E /* httpbinorg_01162016.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C711BC2C88F00FD3B3E /* httpbinorg_01162016.cer */; };
8283
298D7CC51BC2CAA200FD3B3E /* AddTrust_External_CA_Root.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C6E1BC2C88F00FD3B3E /* AddTrust_External_CA_Root.cer */; };
8384
298D7CC61BC2CAA200FD3B3E /* COMODO_RSA_Certification_Authority.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C6F1BC2C88F00FD3B3E /* COMODO_RSA_Certification_Authority.cer */; };
8485
298D7CC71BC2CAA200FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C701BC2C88F00FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer */; };
85-
298D7CC81BC2CAA200FD3B3E /* httpbinorg_01162016.cer in Resources */ = {isa = PBXBuildFile; fileRef = 298D7C711BC2C88F00FD3B3E /* httpbinorg_01162016.cer */; };
8686
298D7CD31BC2CAE800FD3B3E /* AFHTTPResponseSerializationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 298D7C821BC2C88F00FD3B3E /* AFHTTPResponseSerializationTests.m */; };
8787
298D7CD41BC2CAE900FD3B3E /* AFHTTPResponseSerializationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 298D7C821BC2C88F00FD3B3E /* AFHTTPResponseSerializationTests.m */; };
8888
298D7CD51BC2CAEC00FD3B3E /* AFHTTPSessionManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 298D7C831BC2C88F00FD3B3E /* AFHTTPSessionManagerTests.m */; };
@@ -221,6 +221,7 @@
221221
/* End PBXContainerItemProxy section */
222222

223223
/* Begin PBXFileReference section */
224+
1FE783001C58579D00A73B7C /* httpbinorg_01192017.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = httpbinorg_01192017.cer; sourceTree = "<group>"; };
224225
2960BAC21C1B2F1A00BA02F0 /* AFUIButtonTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AFUIButtonTests.m; sourceTree = "<group>"; };
225226
297824A01BC2D69A0041C395 /* adn_0.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = adn_0.cer; path = ADNNetServerTrustChain/adn_0.cer; sourceTree = "<group>"; };
226227
297824A11BC2D69A0041C395 /* adn_1.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = adn_1.cer; path = ADNNetServerTrustChain/adn_1.cer; sourceTree = "<group>"; };
@@ -232,7 +233,6 @@
232233
298D7C6E1BC2C88F00FD3B3E /* AddTrust_External_CA_Root.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = AddTrust_External_CA_Root.cer; sourceTree = "<group>"; };
233234
298D7C6F1BC2C88F00FD3B3E /* COMODO_RSA_Certification_Authority.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = COMODO_RSA_Certification_Authority.cer; sourceTree = "<group>"; };
234235
298D7C701BC2C88F00FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = COMODO_RSA_Domain_Validation_Secure_Server_CA.cer; sourceTree = "<group>"; };
235-
298D7C711BC2C88F00FD3B3E /* httpbinorg_01162016.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = httpbinorg_01162016.cer; sourceTree = "<group>"; };
236236
298D7C771BC2C88F00FD3B3E /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logo.png; sourceTree = "<group>"; };
237237
298D7C791BC2C88F00FD3B3E /* AltName.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = AltName.cer; sourceTree = "<group>"; };
238238
298D7C7A1BC2C88F00FD3B3E /* foobar.com.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = foobar.com.cer; sourceTree = "<group>"; };
@@ -398,7 +398,7 @@
398398
298D7C6E1BC2C88F00FD3B3E /* AddTrust_External_CA_Root.cer */,
399399
298D7C6F1BC2C88F00FD3B3E /* COMODO_RSA_Certification_Authority.cer */,
400400
298D7C701BC2C88F00FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer */,
401-
298D7C711BC2C88F00FD3B3E /* httpbinorg_01162016.cer */,
401+
1FE783001C58579D00A73B7C /* httpbinorg_01192017.cer */,
402402
);
403403
path = HTTPBin.org;
404404
sourceTree = "<group>";
@@ -827,7 +827,6 @@
827827
2987B0DE1BC40AFB00179A4C /* foobar.com.cer in Resources */,
828828
2987B0D61BC40AEC00179A4C /* ADNNetServerTrustChain in Resources */,
829829
2987B0D91BC40AF300179A4C /* COMODO_RSA_Certification_Authority.cer in Resources */,
830-
2987B0DB1BC40AF300179A4C /* httpbinorg_01162016.cer in Resources */,
831830
2987B0DF1BC40AFB00179A4C /* NoDomains.cer in Resources */,
832831
2987B0D41BC40AE900179A4C /* adn_1.cer in Resources */,
833832
2987B0DD1BC40AFB00179A4C /* AltName.cer in Resources */,
@@ -841,6 +840,7 @@
841840
5F4323DB1BF63CBA003B8749 /* GoogleComServerTrustChainPath2 in Resources */,
842841
5F4323BD1BF63741003B8749 /* Equifax_Secure_Certificate_Authority_Root.cer in Resources */,
843842
5F4323DF1BF63CCC003B8749 /* GeoTrust_Global_CA_Root.cer in Resources */,
843+
1FE783031C5857A200A73B7C /* httpbinorg_01192017.cer in Resources */,
844844
5F4323C01BF63741003B8749 /* GeoTrust_Global_CA-cross.cer in Resources */,
845845
5F4323CF1BF63741003B8749 /* GoogleInternetAuthorityG2.cer in Resources */,
846846
5F4323C31BF63741003B8749 /* google.com.cer in Resources */,
@@ -855,7 +855,6 @@
855855
298D7CBF1BC2CA9D00FD3B3E /* foobar.com.cer in Resources */,
856856
298D7CBA1BC2CA9800FD3B3E /* logo.png in Resources */,
857857
298D7CC61BC2CAA200FD3B3E /* COMODO_RSA_Certification_Authority.cer in Resources */,
858-
298D7CC81BC2CAA200FD3B3E /* httpbinorg_01162016.cer in Resources */,
859858
297824A31BC2D69A0041C395 /* adn_0.cer in Resources */,
860859
298D7CC71BC2CAA200FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer in Resources */,
861860
298D7CE31BC2CB7C00FD3B3E /* HTTPBinOrgServerTrustChain in Resources */,
@@ -868,6 +867,7 @@
868867
5F4323D91BF63CBA003B8749 /* GoogleComServerTrustChainPath2 in Resources */,
869868
5F4323BB1BF63741003B8749 /* Equifax_Secure_Certificate_Authority_Root.cer in Resources */,
870869
5F4323DD1BF63CCC003B8749 /* GeoTrust_Global_CA_Root.cer in Resources */,
870+
1FE783011C5857A100A73B7C /* httpbinorg_01192017.cer in Resources */,
871871
5F4323BE1BF63741003B8749 /* GeoTrust_Global_CA-cross.cer in Resources */,
872872
5F4323CD1BF63741003B8749 /* GoogleInternetAuthorityG2.cer in Resources */,
873873
5F4323C11BF63741003B8749 /* google.com.cer in Resources */,
@@ -882,7 +882,6 @@
882882
298D7CBC1BC2CA9C00FD3B3E /* foobar.com.cer in Resources */,
883883
298D7CB91BC2CA9800FD3B3E /* logo.png in Resources */,
884884
298D7CC21BC2CAA100FD3B3E /* COMODO_RSA_Certification_Authority.cer in Resources */,
885-
298D7CC41BC2CAA100FD3B3E /* httpbinorg_01162016.cer in Resources */,
886885
297824A41BC2D69A0041C395 /* adn_0.cer in Resources */,
887886
298D7CC31BC2CAA100FD3B3E /* COMODO_RSA_Domain_Validation_Secure_Server_CA.cer in Resources */,
888887
298D7CE41BC2CB7C00FD3B3E /* HTTPBinOrgServerTrustChain in Resources */,
@@ -895,6 +894,7 @@
895894
5F4323DA1BF63CBA003B8749 /* GoogleComServerTrustChainPath2 in Resources */,
896895
5F4323BC1BF63741003B8749 /* Equifax_Secure_Certificate_Authority_Root.cer in Resources */,
897896
5F4323CE1BF63741003B8749 /* GoogleInternetAuthorityG2.cer in Resources */,
897+
1FE783021C5857A100A73B7C /* httpbinorg_01192017.cer in Resources */,
898898
5F4323DE1BF63CCC003B8749 /* GeoTrust_Global_CA_Root.cer in Resources */,
899899
5F4323BF1BF63741003B8749 /* GeoTrust_Global_CA-cross.cer in Resources */,
900900
5F4323C21BF63741003B8749 /* google.com.cer in Resources */,
Binary file not shown.
Binary file not shown.
Binary file not shown.

Tests/Tests/AFSecurityPolicyTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static SecTrustRef AFUTGoogleComServerTrustPath2() {
7272
}
7373

7474
static SecCertificateRef AFUTHTTPBinOrgCertificate() {
75-
NSString *certPath = [[NSBundle bundleForClass:[AFSecurityPolicyTests class]] pathForResource:@"httpbinorg_01162016" ofType:@"cer"];
75+
NSString *certPath = [[NSBundle bundleForClass:[AFSecurityPolicyTests class]] pathForResource:@"httpbinorg_01192017" ofType:@"cer"];
7676
NSCAssert(certPath != nil, @"Path for certificate should not be nil");
7777
NSData *certData = [NSData dataWithContentsOfFile:certPath];
7878

0 commit comments

Comments
 (0)