Skip to content

Conversation

@fabianvf
Copy link
Member

@fabianvf fabianvf commented Sep 6, 2018

closes #198

@dlabajo I think this might fix your issue, it looks like Python libraries don't really use the default system ca. Let me know if this fixes your issue. As a workaround you can also just specify the path to your system ca.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 6, 2018
@fabianvf
Copy link
Member Author

ping @dlabajo

@ghost
Copy link

ghost commented Sep 15, 2018

ping @dlabajo

@fabianvf Hello! Ping received... sorry for a dumb question, what do I need to do?

@fabianvf
Copy link
Member Author

@dlabajo you should be able to install the modified version of the client with pip install https://github.com/fabianvf/openshift-restclient-python/archive/default_ssl_ca.tar.gz

Let me know if you have any trouble with that, or if the fix doesn't work.

@ghost
Copy link

ghost commented Sep 17, 2018

@fabianvf Hi! I just tried this today and got the same error. This is with the modified version of openshift and kubernetes:
openshift 0.7.0
kubernetes 7.0.0

@fabianvf
Copy link
Member Author

@dlabajo hmm, that's a shame. I'm not really sure what the right thing to do here is, it seems that the "python" way of doing things is to not detect the system ca, and my attempt at a workaround was unsuccessful. I think unfortunately the answer for now might be that you need to manually provide the ca path/data anytime you want to use it, even if it's the system default.

@fabianvf fabianvf closed this Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Help with "SSL: CERTIFICATE_VERIFY_FAILED" error.

2 participants