pub fn get_serial(cert: &X509) -> Result<String, Box<Error>>
Return the serial number associated with the X509 certificate as a hexadecimal value.