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

[github] certificate signed by unknown authority #342

Open
lalyos opened this issue Aug 27, 2022 · 1 comment
Open

[github] certificate signed by unknown authority #342

lalyos opened this issue Aug 27, 2022 · 1 comment

Comments

@lalyos
Copy link

lalyos commented Aug 27, 2022

I was folloing the github auth guide. Everything seems fine:

When I try to test the webhook:

kubectl get pods --all-namespaces --user <myghuser> -v9 

I get an error:

error: You must be logged in to the server (Unauthorized)

It seems that the guard pod does receives the token review request, but fails, while communicating with Github API:

> kubectl logs -n kube-system deploy/guard
...
I0827 10:52:47.002248       1 server.go:168] setting up authz providers
I0827 10:53:23.761824       1 handler.go:47] Received token review request for github/rancser
E0827 10:53:23.805177       1 utils.go:130] failed to check user's membership in Org rancser: Get "https://api.github.com/user/memberships/orgs/rancser": x509: certificate signed by unknown authority

I tried it with versions: v0.6.1 and v0.11.0

@zawachte
Copy link

Hey,

Did you ever get to the bottom of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants