Actions
Bug #6058
closedrudder-metrics-reporting tries to use a ca file that is a directory
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Currently, in the script, we use:
curl = ["curl", RUDDER_URL, "--cacert", "/opt/rudder/share/certificates", "-f", "-L", "--post301", "--post302", "-d", "@"+file.name, "-H", "Content-Type: application/json;charset=utf-8"]
This is incorrect, as cacert expects a ca certificate and not a directory.
The right value is:
curl = ["curl", RUDDER_URL, "--cacert", "/opt/rudder/share/certificates/ca-bundle.crt", "-f", "-L", "--post301", "--post302", "-d", "@"+file.name, "-H", "Content-Type: application/json;charset=utf-8"]
Actions