Skip to content

Commit 724ceb6

Browse files
committed
src/node/util.ts: Mark generated certificates as CA
Required for access under iPad.
1 parent aee715e commit 724ceb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node/util.ts

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const generateCertificate = async (hostname: string): Promise<{ cert: str
7373
req_extensions = v3_req
7474
7575
[ v3_req ]
76+
basicConstraints = CA:true
7677
extendedKeyUsage = serverAuth
7778
subjectAltName = @alt_names
7879

0 commit comments

Comments
 (0)