Skip to content

Commit

Permalink
fix(server): Add extKeyUsage to self-signed cert (#2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrall authored and evilebottnawi committed Oct 15, 2019
1 parent b0070f3 commit a4dbc3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/utils/createCertificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ function createCertificate(attributes) {
keyEncipherment: true,
dataEncipherment: true,
},
{
name: 'extKeyUsage',
serverAuth: true,
clientAuth: true,
codeSigning: true,
timeStamping: true,
},
{
name: 'subjectAltName',
altNames: [
Expand Down

0 comments on commit a4dbc3b

Please sign in to comment.