-
Notifications
You must be signed in to change notification settings - Fork 184
Open ssl certificate verify failed #177
Comments
/help |
@roycaihw: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
You should be able to pass an arbitrary PEM-formatted ca-certificate file (eg the public half of your self-signed cert) to |
I've found a (temporary) workaround, the Configuration object is global scoped and use default values, whom can be writted before the InClusterConfigLoader (as long as InClusterConfigLoader don't override it, wish is the case for verify_ssl). |
InClusterConfigLoader overrides the default object. You could set |
Thanks for your help |
Taking this idea with
This may not be so nice to modify a "private" member, but for me with 1-2 lines of code change it worked fine for quickly testing things without refactoring the whole production code with custom Configuration objects or whatnot. |
Cant use the InClusterConfigLoader with an self signed ca.cert
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate ferify failed: self signed certificate in certificate chain
I propose to add a parameter or an env variable to allow a verify=false .
The text was updated successfully, but these errors were encountered: