From d2a5d839be2371c91749118ec064f106fc379a5b Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Mon, 16 Sep 2024 15:22:39 -0400 Subject: [PATCH] tests: update vendored real world certs The Agilebits and LE end-entity certs expired, breaking CI runs that rely on this vendored test data. The two EE certs (`agilebits_com_valid_1.crt` and `letsencrypt_org_valid_1.crt`) were refreshed by running `update_valid_ee_certs.rs`. Additionally the intermediate used by the Agilebits chain switched from Subject: C = US, O = Amazon, CN = Amazon RSA 2048 M01 To: Subject: C = US, O = Amazon, CN = Amazon RSA 2048 M03 The `agilebits_com_valid_2.crt` file was updated manually to accommodate this change. --- rustls-platform-verifier/src/tests/mod.rs | 4 ++-- .../agilebits_com_valid_1.crt | Bin 1503 -> 1501 bytes .../agilebits_com_valid_2.crt | Bin 1122 -> 1122 bytes .../letsencrypt_org_valid_1.crt | Bin 979 -> 978 bytes 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rustls-platform-verifier/src/tests/mod.rs b/rustls-platform-verifier/src/tests/mod.rs index 8f1e9793..aa68e6c2 100644 --- a/rustls-platform-verifier/src/tests/mod.rs +++ b/rustls-platform-verifier/src/tests/mod.rs @@ -58,8 +58,8 @@ pub fn assert_cert_error_eq( /// we know the test certificates are valid. This must be updated if the mock certificates /// are regenerated. pub(crate) fn verification_time() -> pki_types::UnixTime { - // Monday, August 5th, 2024 19:50:24 UTC - pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_722_887_424)) + // Monday, September 16th, 2024 19:21:42 UTC + pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_726_514_502)) } fn ensure_global_state() { diff --git a/rustls-platform-verifier/src/tests/verification_real_world/agilebits_com_valid_1.crt b/rustls-platform-verifier/src/tests/verification_real_world/agilebits_com_valid_1.crt index 90bf53a02b11d5ec8d6d71b29589ec690d287b32..c999d58c3091e871e0fc4772cb8a1872d4e9cd9a 100644 GIT binary patch delta 1118 zcmV-k1fl!i3*8GJFoFfyFoFcZpaTK{0s;^MgK~w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X2&Zh|t0w5^jA0+RtT zlOF>W0Wp)l0x|(HlkoyA0Wp&w0~LQUE@NeKFboC*RUH!n0sjO7FaR)u0e}VyD+U1s z0oHi}1Ofzt0dNF@0c-(k0CoU&|A;>dw)>S)!ePwyhq^Shq|Li2+-O1ypXO&wS~_$9 z00D}jW~oO200aX7M=(VKAO*Y`(nmli?>uRWF8qv#nA?&oZ-!FgiB{q>>_>lF(hve6 z0RBhSp6>71GJ=!%l2?6bZ&LoG&lFAFO8X^HAIGiMuK;%dNU-B;+NMV|59MkC`kgTA z98v+xR^2Rt*}K21IoO1A0004sp=PN)000C707x)K0wDmNecpu&oOn!@xt__I2Xnf} z9vx|^{kF3)>Ox|0g9n!sSE%B1Oos_Fh&9) z0F3~Npk|95pl8X#^T0!xvqKQ$hH|@Ms~}UfWJ2ov$O0h%yZ8Sh*hha}0e0a&o-K<} zjDmzOWP#=WG#PC>t2iJF3DL+#(|S=++%D!Q-%*e3g%#U;R9{_<*OLOHB*) zwu}jXqApzgX1zmd{5`HFDYB+(TX{tigp$o=#g}|edL(3WAs#RuBt(IUy^AD>SQ)VV m6&@#u$?-}*$%8DA)ifj4^+7CP&L$tDXz~KGp>eb{LDv>Mv-6_> diff --git a/rustls-platform-verifier/src/tests/verification_real_world/agilebits_com_valid_2.crt b/rustls-platform-verifier/src/tests/verification_real_world/agilebits_com_valid_2.crt index f1e3552db0fb52791734986d9039fc0ea016e5f5..66c211b49d9e31ee8650ff942d6d5d627136c541 100644 GIT binary patch delta 617 zcmV-v0+#*a2;vALFoFbLFoFX{paTK{0s<2Ua}rF{2GVE1nH=3Inx8l^d4-W8R}wZb zG+Gx8GcYhXGBYwVGBz+Yk&8Y7Gm*+6f46_7St#=RjN`sje~w32a9avr!StNG^ld^$ zL1S?CH0fYHl`p$>X4C_*tyw~-lFIt_5{$vaEH<2F!?yR0<;8;#bocq@YF7YS*~`pd zi)b>01CY>~^0T@fXMBh15+Z^@DVJUyJzme9JGUn0rrIxPVKk7E0qER|2Q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