pub fn extract_principal_from_cert(cert_der: &[u8]) -> Option<String>
Parse cert_der and return the Subject DN in RFC 2253 format.
cert_der
This function returns None if the bytes do not parse as a valid X.509 cert.
None