pub fn convert_x509_to_matter(fname: &str, ca_pubkey: &[u8]) -> Result<Vec<u8>>
Convert certificate in PEM file to matter format PEM file must contain x509 certificate compatible with matter