src/node/util.ts: Mark generated certificates as CA

Required for access under iPad.
This commit is contained in:
Anmol Sethi 2020-10-30 05:42:42 -04:00
parent bae28727bd
commit a1b61d1659
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ export const generateCertificate = async (hostname: string): Promise<{ cert: str
req_extensions = v3_req
[ v3_req ]
basicConstraints = CA:true
extendedKeyUsage = serverAuth
subjectAltName = @alt_names