mirror of
https://github.com/cdr/code-server.git
synced 2025-12-07 08:52:16 +01:00
src/node/util.ts: Mark generated certificates as CA
Required for access under iPad.
This commit is contained in:
parent
bae28727bd
commit
a1b61d1659
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ export const generateCertificate = async (hostname: string): Promise<{ cert: str
|
||||||
req_extensions = v3_req
|
req_extensions = v3_req
|
||||||
|
|
||||||
[ v3_req ]
|
[ v3_req ]
|
||||||
|
basicConstraints = CA:true
|
||||||
extendedKeyUsage = serverAuth
|
extendedKeyUsage = serverAuth
|
||||||
subjectAltName = @alt_names
|
subjectAltName = @alt_names
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue