Skip to content

Commit a4dbc3b

Browse files
tarrallevilebottnawi
authored andcommitted
fix(server): Add extKeyUsage to self-signed cert (#2274)
1 parent b0070f3 commit a4dbc3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/utils/createCertificate.js

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ function createCertificate(attributes) {
2020
keyEncipherment: true,
2121
dataEncipherment: true,
2222
},
23+
{
24+
name: 'extKeyUsage',
25+
serverAuth: true,
26+
clientAuth: true,
27+
codeSigning: true,
28+
timeStamping: true,
29+
},
2330
{
2431
name: 'subjectAltName',
2532
altNames: [

0 commit comments

Comments
 (0)