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
[rancher-cli] rancher login --skip-verify leads to FATA[0000] CACerts is not valid #17909
Comments
The error message is from validation for the CA attribute of cacerts.
Can you check if your CA certificate includes the basicConstraints extension with the CA field set? |
I have the same Issue, my certificate extensions are like this : X509v3 extensions: |
I'm also getting this with a rke + helm install of rancher rancher login
|
We also get the error
|
I also get this error when I run rancher login https://my.local.demo.cluster/v3 --name demo --token token-d9xp4:2gbfc87... --skip-verify The SSL certificate is a letsencrypt staging certificate from Fake LE Intermediate X1. |
rancher --version
|
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
Although this was "closed" in 2021, this issue still exists in July 2023, encountered while trying to work through the Rancher Academy Intro to Rancher video tutorial. My error message is slightly different, but still is not skipping verification when --skip-verify is provided:
|
What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Result:
Tried to download the certs and store them in a file, not better (or does the file need to be json?) :
Other details that may be helpful:
Environment information
The text was updated successfully, but these errors were encountered: