Description
1. Create a couchbase cluster and enable SSL/TLS on the cluster
2. Try to enable the clientCertAuth using the ssl-manage on couchbase-cli
couchbase-cli ssl-manage --set-client-auth-state mandatory -c 10.111.170.101:8091 -u Administrator -p password
The expected behaviour is that we should be able to set the client auth state,prefix, path and delimiter using the couchbase cli. But got ERROR: "Invalid JSON" as output.
We are able to set the clientCertAuth using the rest API (curl -X POST -u Administrator:asdasd -d@client_cert_auth.json http://localhost:8091/settings/clientCertAuth) but not using the couchbase-cli ssl-manage tool.
Tested this on 5.1.0-5547
Attachments
For Gerrit Dashboard: MB-27795 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
88709,3 | MB-27795: Client auth should read from a configuration file | spock | couchbase-cli | Status: MERGED | +2 | +1 |
88942,3 | MB-27795: More validations for clienCertAuth API. | spock | ns_server | Status: MERGED | +2 | +1 |
88972,1 | Merge remote-tracking branch 'gerrit/spock' | master | ns_server | Status: MERGED | +2 | +1 |