Skip to content

Commit

Permalink
Updated the expired letsencrypt.org certificates and verification tim…
Browse files Browse the repository at this point in the history
…estamp
  • Loading branch information
Cyannide authored and cpu committed Nov 18, 2024
1 parent 513d7c8 commit 5017652
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rustls-platform-verifier/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ pub fn assert_cert_error_eq<E: StdError + PartialEq + 'static>(
/// 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, September 16th, 2024 19:21:42 UTC
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_726_514_502))
// Saturday, November 9th, 2024 19:52:49 UTC
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_731_181_969))
}

fn ensure_global_state() {
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const LETSENCRYPT_ORG: &str = "letsencrypt.org";
const VALID_LETSENCRYPT_ORG_CHAIN: &[&[u8]] = &[
include_bytes!("letsencrypt_org_valid_1.crt"),
include_bytes!("letsencrypt_org_valid_2.crt"),
include_bytes!("letsencrypt_org_valid_3.crt"),
];

macro_rules! real_world_test_cases {
Expand Down

0 comments on commit 5017652

Please sign in to comment.