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
|
req_extensions = v3_req
|
||||||
|
|
||||||
[ v3_req ]
|
[ v3_req ]
|
||||||
|
basicConstraints = CA:true
|
||||||
extendedKeyUsage = serverAuth
|
extendedKeyUsage = serverAuth
|
||||||
subjectAltName = @alt_names
|
subjectAltName = @alt_names
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue