Some tweaks

This commit is contained in:
Reinier Criel 2025-11-12 13:11:02 -08:00
parent f2bf5869ba
commit fdef9e0766
2 changed files with 7 additions and 6 deletions

View file

@ -48,6 +48,10 @@ export function generateCertForHost(hostname) {
digitalSignature: true,
keyEncipherment: true,
},
{
name: "extKeyUsage",
serverAuth: true,
},
]);
cert.sign(ca.privateKey, forge.md.sha256.create());