Skip to content

Commit

Permalink
fix: remove basicConstraints extension from certificate
Browse files Browse the repository at this point in the history
This fixes TLS on Chromium Linux (see webpack#2313)

Based on webpack#2313 (comment)
  • Loading branch information
akx committed Nov 26, 2019
1 parent 27a04a6 commit 9b49e26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/utils/createCertificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ function createCertificate(attributes) {
days: 30,
keySize: 2048,
extensions: [
{
name: 'basicConstraints',
cA: true,
},
{
name: 'keyUsage',
keyCertSign: true,
Expand Down

0 comments on commit 9b49e26

Please sign in to comment.