mirror of
https://github.com/coder/code-server.git
synced 2024-12-28 04:05:23 +03:00
src/node/util.ts: Mark generated certificates as CA
Required for access under iPad.
This commit is contained in:
parent
bae28727bd
commit
a1b61d1659
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user