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 4fb7a07 commit a9c48a8Copy full SHA for a9c48a8
lib/_tls_wrap.js
@@ -1055,7 +1055,7 @@ function onConnectSecure() {
1055
options.host ||
1056
(options.socket && options.socket._host) ||
1057
'localhost';
1058
- const cert = this.getPeerCertificate();
+ const cert = this.getPeerCertificate(true);
1059
verifyError = options.checkServerIdentity(hostname, cert);
1060
}
1061
0 commit comments