pub fn get_pubkey_from_tls_certificate(
    certificates: &[Certificate]
) -> Option<Pubkey>