Skip to content

Commit

Permalink
Merge pull request #95 from devjerry/fix-cert-alt-names
Browse files Browse the repository at this point in the history
Fix NET::ERR_CERT_COMMON_NAME_INVALID error in Chrome 58 and up
  • Loading branch information
greim committed Jun 29, 2017
2 parents 48ff764 + 7c486c0 commit 6b0c35c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sni-spoofer.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class SNISpoofer extends EventEmitter {
locality: 'Provo',
organization: 'ACME Tech Inc',
commonName: serverName,
altNames: [serverName],
serviceKey: rootKey,
serviceCertificate: rootCert,
serial: Date.now(),
Expand Down

0 comments on commit 6b0c35c

Please sign in to comment.