We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
After setup on 3 RaspberryPIs, kubectl behaves as expected. However, python client code was failing with:
kubectl
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unsupported certificate purpose
This can be fixed by the following changes in ca.conf:
ca.conf
diff --git a/ca.conf b/ca.conf index eb17657..2cd028e 100644 --- a/ca.conf +++ b/ca.conf @@ -174,8 +174,7 @@ req_extensions = kube-api-server_req_extensions basicConstraints = CA:FALSE extendedKeyUsage = clientAuth, serverAuth keyUsage = critical, digitalSignature, keyEncipherment -nsCertType = client -nsComment = "Kube Scheduler Certificate" +nsComment = "Kube API Server Certificate"
Handy to use the openssl command:
openssl x509 -in kube-api-server.crt -purpose -noout
Not sure if this is the right way to address this issue, and it's weird that kubectl doesn't barf, but now python code works as expected:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
After setup on 3 RaspberryPIs,
kubectl
behaves as expected. However, python client code was failing with:This can be fixed by the following changes in
ca.conf
:Handy to use the openssl command:
Not sure if this is the right way to address this issue, and it's weird that
kubectl
doesn't barf, but now python code works as expected:The text was updated successfully, but these errors were encountered: