pub async fn tls_get_server_cert_info( app_handle: AppHandle, hostname: String, ) -> Result<Option<CertificateInfo>, String>