mirror of https://github.com/nodejs/node.git
test: remove uneeded agent keypair in fixtures/
PR-URL: https://github.com/nodejs/node/pull/27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>pull/28129/head
parent
0ee02c7a1c
commit
4019db2923
|
@ -1,21 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDXTCCAkWgAwIBAgIJAMUSOvlaeyQHMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
|
||||
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
|
||||
aWRnaXRzIFB0eSBMdGQwHhcNMTAxMTE2MDkzMjQ5WhcNMTMxMTE1MDkzMjQ5WjBF
|
||||
MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
|
||||
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
||||
CgKCAQEAz+LXZOjcQCJq3+ZKUFabj71oo/ex/XsBcFqtBThjjTw9CVEVwfPQQp4X
|
||||
wtPiB204vnYXwQ1/R2NdTQqCZu47l79LssL/u2a5Y9+0NEU3nQA5qdt+1FAE0c5o
|
||||
exPimXOrR3GWfKz7PmZ2O0117IeCUUXPG5U8umhDe/4mDF4ZNJiKc404WthquTqg
|
||||
S7rLQZHhZ6D0EnGnOkzlmxJMYPNHSOY1/6ivdNUUcC87awNEA3lgfhy25IyBK3QJ
|
||||
c+aYKNTbt70Lery3bu2wWLFGtmNiGlQTS4JsxImRsECTI727ObS7/FWAQsqW+COL
|
||||
0Sa5BuMFrFIpjPrEe0ih7vRRbdmXRwIDAQABo1AwTjAdBgNVHQ4EFgQUDnV4d6mD
|
||||
tOnluLoCjkUHTX/n4agwHwYDVR0jBBgwFoAUDnV4d6mDtOnluLoCjk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||
QKS3zVViXCbrG5SY6wS9hxoc57f6E2A8vcaX6zy2xkZlGHQCpWRtEM5R01OWJQaH
|
||||
HsHMmQZGUQVoDm1oRkDhrTFK4K3ukc3rAxzeTZ96utOQN8/KJsTv
|
||||
-----END RSA PRIVATE KEY-----
|
|
@ -33,8 +33,8 @@ const net = require('net');
|
|||
const spawn = require('child_process').spawn;
|
||||
const fixtures = require('../common/fixtures');
|
||||
|
||||
const key = fixtures.readSync('agent.key').toString();
|
||||
const cert = fixtures.readSync('agent.crt').toString();
|
||||
const key = fixtures.readKey('rsa_private.pem');
|
||||
const cert = fixtures.readKey('rsa_cert.crt');
|
||||
|
||||
function log(a) {
|
||||
console.error(`***server*** ${a}`);
|
||||
|
|
|
@ -41,8 +41,8 @@ doTest({ tickets: false }, function() {
|
|||
});
|
||||
|
||||
function doTest(testOptions, callback) {
|
||||
const key = fixtures.readSync('agent.key');
|
||||
const cert = fixtures.readSync('agent.crt');
|
||||
const key = fixtures.readKey('rsa_private.pem');
|
||||
const cert = fixtures.readKey('rsa_cert.crt');
|
||||
const options = {
|
||||
key,
|
||||
cert,
|
||||
|
@ -101,8 +101,8 @@ function doTest(testOptions, callback) {
|
|||
'-tls1',
|
||||
'-connect', `localhost:${this.address().port}`,
|
||||
'-servername', 'ohgod',
|
||||
'-key', fixtures.path('agent.key'),
|
||||
'-cert', fixtures.path('agent.crt'),
|
||||
'-key', fixtures.path('keys/rsa_private.pem'),
|
||||
'-cert', fixtures.path('keys/rsa_cert.crt'),
|
||||
'-reconnect'
|
||||
].concat(testOptions.tickets ? [] : '-no_ticket');
|
||||
|
||||
|
|
|
@ -94,8 +94,8 @@ if (cluster.isMaster) {
|
|||
return;
|
||||
}
|
||||
|
||||
const key = fixtures.readSync('agent.key');
|
||||
const cert = fixtures.readSync('agent.crt');
|
||||
const key = fixtures.readKey('rsa_private.pem');
|
||||
const cert = fixtures.readKey('rsa_cert.crt');
|
||||
|
||||
const options = { key, cert };
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ test1();
|
|||
|
||||
// simple/test-tls-securepair-client
|
||||
function test1() {
|
||||
test('agent.key', 'agent.crt', null, test2);
|
||||
test('keys/rsa_private.pem', 'keys/rsa_cert.crt', null, test2);
|
||||
}
|
||||
|
||||
// simple/test-tls-ext-key-usage
|
||||
|
|
|
@ -51,8 +51,8 @@ function doTest() {
|
|||
|
||||
const SESSION_TIMEOUT = 1;
|
||||
|
||||
const key = fixtures.readSync('agent.key');
|
||||
const cert = fixtures.readSync('agent.crt');
|
||||
const key = fixtures.readKey('rsa_private.pem');
|
||||
const cert = fixtures.readKey('rsa_cert.crt');
|
||||
const options = {
|
||||
key: key,
|
||||
cert: cert,
|
||||
|
|
Loading…
Reference in New Issue