diff --git a/ui/src/app/certificate_requests/row.tsx b/ui/src/app/certificate_requests/row.tsx index d170cd3..b419deb 100644 --- a/ui/src/app/certificate_requests/row.tsx +++ b/ui/src/app/certificate_requests/row.tsx @@ -62,7 +62,7 @@ export default function Row({ id, csr, certificate, ActionMenuExpanded, setActio const blob = new Blob([csr], { type: 'text/plain' }); const link = document.createElement('a'); link.href = URL.createObjectURL(blob); - link.download = "csr.pem"; // TODO: change this to .pem + link.download = "csr-" + id.toString() + ".pem"; // TODO: change this to .pem document.body.appendChild(link); link.click(); document.body.removeChild(link);