Skip to content

Commit e3e1119

Browse files
committed
chore: Increase TLS certificate lifetime to 24 hours
1 parent 172ab6d commit e3e1119

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • crates/stackable-webhook/src/tls

crates/stackable-webhook/src/tls/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ use crate::{
3737

3838
mod cert_resolver;
3939

40-
pub const WEBHOOK_CA_LIFETIME: Duration = Duration::from_minutes_unchecked(3);
41-
pub const WEBHOOK_CERTIFICATE_LIFETIME: Duration = Duration::from_minutes_unchecked(2);
42-
pub const WEBHOOK_CERTIFICATE_ROTATION_INTERVAL: Duration = Duration::from_minutes_unchecked(1);
40+
pub const WEBHOOK_CA_LIFETIME: Duration = Duration::from_hours_unchecked(24);
41+
pub const WEBHOOK_CERTIFICATE_LIFETIME: Duration = Duration::from_hours_unchecked(24);
42+
pub const WEBHOOK_CERTIFICATE_ROTATION_INTERVAL: Duration = Duration::from_hours_unchecked(20);
4343

4444
pub type Result<T, E = TlsServerError> = std::result::Result<T, E>;
4545

0 commit comments

Comments
 (0)