Skip to content

Commit

Permalink
Fix example's test certificate paths
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiade committed Nov 1, 2023
1 parent f2da65a commit d542b1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/tls/loadtest-tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ export const options = {
// Instantiate a new Redis client using a URL
// const client = new redis.Client('rediss://localhost:6379')
const client = new redis.Client({
password: "password",
password: "tjkbZ8jrwz3pGiku",
socket:{
host: "localhost",
port: 6379,
tls: {
ca: [open('tests/tls/ca.crt')],
cert: open('tests/tls/client.crt'), // client cert
key: open('tests/tls/client.key'), // client private key
ca: [open('docker/tests/tls/ca.crt')],
cert: open('docker/tests/tls/client.crt'), // client cert
key: open('docker/tests/tls/client.key'), // client private key
}
}
});
Expand Down

0 comments on commit d542b1f

Please sign in to comment.