-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
Description
This seems to be a regression between node 4.2.1 and node 0.1.2:
var request = require('request')
request({
url: 'https://github.com'
}, function (err, res, body) {
console.log('err', err)
console.log('peerCertificate:',res.req.connection.getPeerCertificate());
console.log('authorized:',res.req.connection.authorized);
console.log('authorizationError:',res.req.connection.authorizationError);
});
First node 0.12.7:
# grep ver node_modules/request/package.json
"version": "2.65.0"
# node --version
v0.12.7
# node testssl.js
err null
peerCertificate: { subject:
{ businessCategory: 'Private Organization',
'1.3.6.1.4.1.311.60.2.1.3': 'US',
'1.3.6.1.4.1.311.60.2.1.2': 'Delaware',
serialNumber: '5157550',
street: '548 4th Street',
postalCode: '94107',
C: 'US',
ST: 'California',
L: 'San Francisco',
O: 'GitHub, Inc.',
CN: 'github.com' }
...
Then node 4.2.1:
# node --version
v4.2.1
# grep ver node_modules/request/package.json
"version": "2.65.0"
# node testssl.js
err null
peerCertificate: null
authorized: true
authorizationError: null
Metadata
Metadata
Assignees
Labels
tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.