Fix cert format

This commit is contained in:
Fang-Pen Lin
2025-11-07 09:20:35 -08:00
parent 50bc8ad891
commit 79c7320140
4 changed files with 14 additions and 5 deletions
@@ -380,6 +380,7 @@ export const registerPkiAcmeRouter = async (server: FastifyZodProvider) => {
if (payload !== "") {
throw new AcmeMalformedError({ detail: "Payload should be empty" });
}
res.type("application/pem-certificate-chain");
return sendAcmeResponse(
res,
profileId,