Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

policiesBundle: tls: failed to verify certificate: x509: certificate signed by unknown authority #2295

Open
teimyBr opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@teimyBr
Copy link

teimyBr commented Oct 25, 2024

What steps did you take and what happened:
We get this error when using a private registry for policiesBundle, we have to use this because when pulling from ghcr.io we get the Rate Limit Error.

tls: failed to verify certificate: x509: certificate signed by unknown authority

Still when these setting is set:

policiesBundle:
    insecure: true

As Information the registry we want to pull from is without user+pw

Probably related to:
#2212
#2228

What did you expect to happen:

Not getting an Certificate Error when using

policiesBundle:
    insecure: true

Environment:

  • Trivy-Operator version (use trivy-operator version): trivy-operator:0.22.0
  • Kubernetes version (use kubectl version): 1.29.4
  • OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): ubuntu-22.04-08-2024
@teimyBr teimyBr added the kind/bug Categorizes issue or PR as related to a bug. label Oct 25, 2024
@simar7 simar7 added this to the v0.24.0 milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants