-
Notifications
You must be signed in to change notification settings - Fork 20
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
Define the certificate-authority flag #120
Comments
Hi @jliburd-nsi, no there is no way to add --certificate-authority atm. You can try using the --insecure-skip-tls-verify flag. Just select the "Accept untrusted SSL certificate" option in the openshift service connection. Let me know if it works. |
Hi, Thanks for the fast response. Yes it works when I check the "Accept untrusted SSL certificates" box but I didn't want to check that option. I tested the login from the server itself with the --certificate-authority flag and it worked so I was just trying to find a way to set that option through the plugin. |
I'll work on this new feature and i'll let you know when it's available. Thanks for your feedback :) |
…enshift (#121) * added new field for certificate authority file * added support for using certificate file (#120) * fixed prettier errors * changed visibility certificate setting (#120) * exported const variable to constant file (#120) * added tests for oc-auth (#120) * fixed prettier warnings (#120)
New version released. Now you can set up the certificate flag when creating/editing openshift service connection. Feel free to open another github issue if you face any problem. Thank you :) |
Is there a way to define the --certificate-authority flag when defining the OpenShift service connection so that it is used when the "oc login" command is used?
I am getting an error right now with the "Install and Setup" task. The error is:
"error: The server uses a certificate signed by unknown authority. You may need to use the --certificate-authority flag to provide the path to a certificate file for the certificate authority, or --insecure-skip-tls-verify to bypass the certificate check and use insecure connections."
The text was updated successfully, but these errors were encountered: