Skip to content

Commit

Permalink
fix(server): Add extKeyUsage to self-signed cert (webpack#2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrall authored and John Chipps-Harding committed Oct 23, 2019
1 parent 020ec65 commit ddd855a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/utils/createCertificate.js
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 ddd855a

Please sign in to comment.