Skip to content

Commit

Permalink
tests: update letsencrypt_org_valid_1.crt
Browse files Browse the repository at this point in the history
The existing copy expired yesterday. Along with updating the cert the
fixed verification time is updated so that we avoid a not-yet-valid
error from the updated cert's NotBefore date being newer than the
previous fixed verification time.
  • Loading branch information
cpu committed Apr 27, 2024
1 parent 1b4e644 commit 82a9045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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, March 11, 2024 8:30:25 PM UTC
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_710_189_025))
// Saturday, April 27, 2024 18:28:07 UTC
pki_types::UnixTime::since_unix_epoch(Duration::from_secs(1_714_242_489))
}

fn ensure_global_state() {
Expand Down
Binary file not shown.

0 comments on commit 82a9045

Please sign in to comment.