Skip to content

SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed: unable to get issuer certificate #1934

@styladj1

Description

@styladj1

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:

  1. Install Robusta Helm chart
  2. Create a bundle containing internal CAs - in my setup trust-manager does that for me
  3. Set additional_env_vars in the runner section in generated_values.yaml:
- name: REQUESTS_CA_BUNDLE
  value: /etc/ssl/certs/company-root-ca-bundle.crt
  1. Mount the ConfigMap with the custom ca bundle
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions