Skip to main content

renew_certificate

Function renew_certificate 

Source
pub fn renew_certificate(pki_dir: &Path) -> Result<()>
Expand description

Sets the server’s certificate and private key in pki_dir aside (.old beside them, replacing an older one), so that the next start creates new ones, valid for 365 days. Clients that trusted the old certificate must trust the new one. Nothing to do without one.