-
Notifications
You must be signed in to change notification settings - Fork 284
Description
Describe the bug
"SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed: unable to get issuer certificate" when connecting to a Mattermost instance using a certificate signed by an internal company CA.
To Reproduce
Steps to reproduce the behavior:
- Install Robusta Helm chart
- Create a bundle containing internal CAs - in my setup trust-manager does that for me
- Set
additional_env_vars
in the runner section ingenerated_values.yaml
:
- name: REQUESTS_CA_BUNDLE
value: /etc/ssl/certs/company-root-ca-bundle.crt
- Mount the ConfigMap with the custom ca bundle
- Re-deploy Robusta with updated values
Expected behavior
SSL verification should succeed.
Logs
Logs are attached.
github_issue_robusta_ssl_verification_failed.txt
Desktop (please complete the following information):
- OS: Debian 12
- Robusta Helm chart version: 0.28.1
- Kubernetes version: 1.30.14
Additional context
Did some try and error and found out that SSL verification succeeds with tools like curl in the robusta-runner pods when the bundle with internal CAs is mounted.
I went even one step further and created a bundle consisting of Python's certifi CAs and our internal CAs, but Robusta still fails to verify Mattermost's SSL certificate.
Please provide some guidance how to fix this issue. Thanks.
Br,
Matthias