Project

General

Profile

Actions

Bug #6058

closed

rudder-metrics-reporting tries to use a ca file that is a directory

Added by Matthieu CERDA almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
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 #1

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/577
Actions #2

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:56ef488081d0126b207b4f1d193e676efb3b6f73.

Actions #3

Updated by Benoît PECCATTE almost 10 years ago

Applied in changeset packages:rudder-packages|commit:bead2c428ad6e408b6d32349d6b1ce96e0d2fef5.

Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0, which was released on 2015/02/16

Actions

Also available in: Atom PDF