certificate verify failed error for heat collector
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-collect-config |
New
|
Undecided
|
Unassigned |
Bug Description
Running
os-
leads to the error
Authorization failed: SSL exception connecting to https:/
As far as I can see, there is no way to configure the ca-cert on client side for the heat collector.
This problem is similar as described in
https:/
or
https:/
but those both use the cfn collector and were never fixed.
As a workaround it is possible to append the ca-cert file, like
cat MyCA.crt >>/opt/
Another workaround:
Relying on the fact, that under the hood 'requests' is used, the REQUESTS_CA_BUNDLE environment variable can be used:
export REQUESTS_ CA_BUNDLE= MyCA.crt