We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e2938 commit 2331267Copy full SHA for 2331267
lib/_tls_wrap.js
@@ -1052,7 +1052,7 @@ function onConnectSecure() {
1052
options.host ||
1053
(options.socket && options.socket._host) ||
1054
'localhost';
1055
- const cert = this.getPeerCertificate();
+ const cert = this.getPeerCertificate(true);
1056
verifyError = options.checkServerIdentity(hostname, cert);
1057
}
1058
0 commit comments