Fails on all versions from 6.6 to 7.1
Create a single node cluster with kv and cbas service and setup certificate authentication
Any request to /analytics/link fails with
{
|
"errors": [{
|
"code": 20000, "msg": "Unauthorized user." }
|
]}
|
curl -v https://172.23.111.155:18095/analytics/link --cacert ca.pem --cert client.pem --key client.key
|
Requests to /analytics/service with the same certs and keys succeed
curl -v -X POST https://172.23.111.155:18095/analytics/service --cacert ca.pem --cert client.pem --key client.key --data '{"statement":"SELECT d.* FROM Metadata.`Dataset` d WHERE d.DataverseName <> \"Metadata\""}' --header "Content-Type: application/json"
|
{
|
"requestID": "3d5332e4-8e42-46ee-8d42-9fd90ac5e8c9",
|
"signature": {
|
"*": "*"
|
},
|
"results": [ ]
|
,
|
"plans":{},
|
"status": "success",
|
"metrics": {
|
"elapsedTime": "127.448069ms",
|
"executionTime": "111.512198ms",
|
"resultCount": 0,
|
"resultSize": 0,
|
"processedObjects": 16
|
}
|
}
|