mirror of https://github.com/lukechilds/node.git
Browse Source
The host of melissadata.net has a cross root certification between Starfield Class 2 and ValiCert Class 2. OpenSSL-1.0.1 only looks up a cert chain to the deprecated ValiCert Class 2 CA and causes untrusted error. We add it for a short-term remedy and it is to be removed after upgrading OpenSSSL-1.0.2 and applying private patches to support alternative cert chains. See #402 and #589. Fixes: https://github.com/iojs/io.js/issues/923 PR-URL: https://github.com/iojs/io.js/pull/1135 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v1.8.0-commit
2 changed files with 26 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||
|
// Test for authorized access to the server which has a cross root
|
||||
|
// certification between Starfield Class 2 and ValiCert Class 2
|
||||
|
var tls = require('tls'); |
||||
|
var socket = tls.connect(443, 'address.melissadata.net', function() { |
||||
|
socket.resume(); |
||||
|
socket.destroy(); |
||||
|
}); |
Loading…
Reference in new issue