[][src]Function krill::daemon::http::tls_keys::create_key_cert_if_needed

pub fn create_key_cert_if_needed(data_dir: &PathBuf) -> Result<(), Error>

Creates a new private key and certificate file if either is found to be missing in the base_path directory.