pub(crate) fn extract_certificate(key_content: &str) -> Result<String>
Extract certificate from combined key file