mirror of https://github.com/nodejs/node.git
8 lines
270 B
JavaScript
8 lines
270 B
JavaScript
|
// 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();
|
||
|
});
|