Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
considering code like this:
var couchbase = require('couchbase')
|
var cluster = new couchbase.Cluster('couchbases://10.142.175.101?certpath=/Users/daschl/tmp/ks/chain.pem&keypath=/Users/daschl/tmp/ks/pkey.key');
|
cluster.authenticate(couchbase.CertAuthenticator);
|
var bucket = cluster.openBucket('pixels', 'blarb', function(err) {
|
console.error(err);
|
});
|
|
bucket.upsert('user:king_arthur', {
|
'email': 'kingarthur@couchbase.com', 'interests': ['Holy Grail', 'African Swallows']
|
},
|
function (err, result) {
|
}
|
);
|
keeps working with cert auth even if it is ambiguous (bucket password AND cert auth) and should fail fast on bootstrap.