Run ycsb using MTLS client certificate authentication

Hi Team,

I am looking for running ycsb using MTLS client certificate authentication.

I have marked require client certificate to “enable” and provided the aprn details.

I downloaded ycsb from here: curl -OLs https://github.com/couchbaselabs/ycsb-couchbase/releases/download/2.0.3/ycsb-couchbase.zip

I do see the following parameter : couchbase.certificateFile for the config file.
ref: ycsb-couchbase/core at main · couchbaselabs/ycsb-couchbase · GitHub

I have used the following parameters:
couchbase.sslMode=true
couchbase.sslNoVerify=false
couchbase.certificateFile=“PATH to CERTS”.

I named the certs as chain.pem (client cert with aprn), pkey.key (key for client cert) and ca.pem (root cert) in the certificate path.

I am running like this: ./bin/run.sh

It works if I provide the password. But I want to authenticate using only cert.

Please guide how to pass parameters to utilize MTLS client cert authentication.

Your help is much appreciated.

Regard,
Raghu

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.