1'use strict'; 2// Test for authorized access to the server which has a cross root 3// certification between Starfield Class 2 and ValiCert Class 2 4 5const common = require('../common'); 6if (!common.hasCrypto) 7 common.skip('missing crypto'); 8 9const tls = require('tls'); 10const socket = tls.connect(443, 'address.melissadata.net', function() { 11 socket.resume(); 12 socket.destroy(); 13}); 14