mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
actually update ssl certificate in persistence when we are within the expiration window.
This commit is contained in:
committed by
Aiden McClelland
parent
492cb7440b
commit
0a4f60ae26
@@ -188,6 +188,7 @@ impl SslManager {
|
||||
if expiration.compare(&window_end)? == Ordering::Less {
|
||||
let key = generate_key()?;
|
||||
let cert = make_leaf_cert((&self.int_key, &self.int_cert), (&key, dns_base))?;
|
||||
self.store.update_certificate(&key, &cert, dns_base).await?;
|
||||
Ok((key, cert))
|
||||
} else {
|
||||
Ok((key, cert))
|
||||
|
||||
Reference in New Issue
Block a user