Skip to content

Commit 78f39c9

Browse files
reasonablytallBridgeAR
authored andcommitted
test: remove uneeded alice certs in fixtures/
PR-URL: #27962 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 5d07377 commit 78f39c9

File tree

3 files changed

+4
-50
lines changed

3 files changed

+4
-50
lines changed

test/fixtures/alice.crt

Lines changed: 0 additions & 24 deletions
This file was deleted.

test/fixtures/multi-alice.crt

Lines changed: 0 additions & 22 deletions
This file was deleted.

test/parallel/test-tls-peer-certificate-multi-keys.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const tls = require('tls');
2929
const fixtures = require('../common/fixtures');
3030

3131
const options = {
32-
key: fixtures.readSync('agent.key'),
33-
cert: fixtures.readSync('multi-alice.crt')
32+
key: fixtures.readKey('rsa_private.pem'),
33+
cert: fixtures.readKey('rsa_cert.crt')
3434
};
3535

3636
const server = tls.createServer(options, function(cleartext) {
@@ -42,7 +42,7 @@ server.once('secureConnection', common.mustCall(function(socket) {
4242
// The server's local cert is the client's peer cert.
4343
assert.deepStrictEqual(
4444
cert.subject.OU,
45-
['Information Technology', 'Engineering', 'Marketing']
45+
['Test TLS Certificate', 'Engineering']
4646
);
4747
}));
4848

@@ -54,7 +54,7 @@ server.listen(0, common.mustCall(function() {
5454
const peerCert = socket.getPeerCertificate();
5555
assert.deepStrictEqual(
5656
peerCert.subject.OU,
57-
['Information Technology', 'Engineering', 'Marketing']
57+
['Test TLS Certificate', 'Engineering']
5858
);
5959
server.close();
6060
}));

0 commit comments

Comments
 (0)