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

Unable to connect to the server: x509: certificate signed by unknown authority #83

Closed
MaheshBGajera opened this issue Apr 27, 2022 · 5 comments

Comments

@MaheshBGajera
Copy link

MaheshBGajera commented Apr 27, 2022

Starting v1.22.0, this resource check started failing with error: Unable to connect to the server: x509: certificate signed by unknown authority

Concourse Version: 7.1.1
Concourse Worker OS: Ubuntu 20.4 LTS

If I downgrade to version v1.21.0, I get following error:
/opt/resource/common.sh: line 43: /dev/stderr: Permission denied
and if I set privileged=true on resource type, it works.

@drthornt
Copy link

drthornt commented Jun 22, 2022

I'm also having this issue.
I'm using gke.
I've double checked things.
token
ca cert
url

@Typositoire
Copy link
Owner

The only thing I can see is the helm version that is different between 1.22.0 and 1.21.0. What was the last version you used that worked?

@Typositoire
Copy link
Owner

So I've started hitting the same error. I'll do some debugging today.

@Typositoire
Copy link
Owner

ok so this is caused by my handling of the none-base64 certificate. @drthornt @MaheshBGajera can you try giving the resource a base64 certificate instead of a full-text one just to validate before I push a fix.

@moojigc
Copy link

moojigc commented Jul 8, 2022

Hello, is this issue resolved? I started seeing this error yesterday, even with a base64 cert on version 1.25.0.

EDIT: I switched cluster_ca to cluster_ca_base64 and now it works!

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

4 participants