1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00

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

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