Some small fixes

This commit is contained in:
Reinier Criel 2025-11-12 13:30:22 -08:00
parent fdef9e0766
commit f215368c4a
2 changed files with 9 additions and 0 deletions

View file

@ -49,6 +49,12 @@ export function generateCertForHost(hostname) {
keyEncipherment: true,
},
{
/*
extKeyUsage serverAuth is required for TLS server authentication.
This is especially important for Python venv environments, which use their own
certificate validation logic and will reject certificates lacking the serverAuth EKU.
Adding serverAuth does not impact other usages
*/
name: "extKeyUsage",
serverAuth: true,
},