Details
-
Bug
-
Resolution: Fixed
-
Major
-
Neo
-
None
-
None
-
DOC-2022-S8
-
1
Description
At
https://docs-staging.couchbase.com/server/7.1/rest-api/upload-retrieve-node-cert.html#script
It is mentioned that
"The value of path, which is a required argument, should be the path to the script on the current node: for security reasons, this must be in the data/scripts directory"
and that
"The endpoint verifies that the script is present on the node, and is located in the data/scripts directory. (For example, on Linux, in /opt/couchbase/var/lib/couchbase/data/scripts.) "
But I think the correct path for scripts directory is in the couchbase directory and not inside the data directory ie; on a typical linux machine, this is
/opt/couchbase/var/lib/couchbase/scripts
Timofey Barmin could you please correct me if I am wrong here?