To repro:
- setup cluster with root/intermediat certficate
- connect via cbq using cert and encrypted pkey
]# /opt/couchbase/bin/cbq -e https://172.23.120.102:18093 -cert chain.pem -key pkey.key
|
ERROR 100 : x509KeyPair: parsePrivateKey, err: parsePrivateKey: failed to parse private key
|
Path to history file for the shell : /root/.cbq_history
|
|
|
without decrypted key see (could be setup issue though)
# /opt/couchbase/bin/cbq -e https://172.23.120.102:18093 -cert chain.pem -key /tmp/pkey_decrypted.key
|
ERROR 100 : N1QL: Unable to connect to endpoint https://172.23.120.102:18093: Get "https://172.23.120.102:18093/pools": x509: certificate signed by unknown authority
|