public ActionResult GenCert(string key) { var ret = CertificateBuilder.MakeCertificate(key); return(File(ret, "application/", "certificate.cer")); }