From 7c486c07e1f2a30a6a783b4538d03184d2e821d8 Mon Sep 17 00:00:00 2001 From: Jaroslav Maslo Date: Tue, 27 Jun 2017 02:14:43 +0200 Subject: [PATCH] Fix NET::ERR_CERT_COMMON_NAME_INVALID error in Chrome 58 and up --- src/sni-spoofer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sni-spoofer.js b/src/sni-spoofer.js index 5bc32d8..d834d8a 100644 --- a/src/sni-spoofer.js +++ b/src/sni-spoofer.js @@ -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(),