pub(crate) fn get_cert_validity(cert_path: &str) -> Result<String>
Get certificate validity information