summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-peer-certificate-multi-keys.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-peer-certificate-multi-keys.js')
-rw-r--r--test/parallel/test-tls-peer-certificate-multi-keys.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-tls-peer-certificate-multi-keys.js b/test/parallel/test-tls-peer-certificate-multi-keys.js
index ce4a0d406f..a2548d6bcf 100644
--- a/test/parallel/test-tls-peer-certificate-multi-keys.js
+++ b/test/parallel/test-tls-peer-certificate-multi-keys.js
@@ -29,8 +29,8 @@ const tls = require('tls');
const fixtures = require('../common/fixtures');
const options = {
- key: fixtures.readKey('rsa_private.pem'),
- cert: fixtures.readKey('rsa_cert.crt')
+ key: fixtures.readSync('agent.key'),
+ cert: fixtures.readSync('multi-alice.crt')
};
const server = tls.createServer(options, function(cleartext) {
@@ -42,7 +42,7 @@ server.once('secureConnection', common.mustCall(function(socket) {
// The server's local cert is the client's peer cert.
assert.deepStrictEqual(
cert.subject.OU,
- ['Test TLS Certificate', 'Engineering']
+ ['Information Technology', 'Engineering', 'Marketing']
);
}));
@@ -54,7 +54,7 @@ server.listen(0, common.mustCall(function() {
const peerCert = socket.getPeerCertificate();
assert.deepStrictEqual(
peerCert.subject.OU,
- ['Test TLS Certificate', 'Engineering']
+ ['Information Technology', 'Engineering', 'Marketing']
);
server.close();
}));