-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to run task when using custom TLS certificate #18957
Comments
I'm labeling it as |
I have managed to reproduce this issue.
|
Maybe different cert being used here: https://github.com/eclipse/che-machine-exec/blob/master/main.go#L87 |
The difference I see: While default certs Che operator generated, are propagated over
from secret |
What's left to be done for this ticket, @sunix can we close it? |
Yes closing. FYI, I created #19246 to clarify our docs on how things should be configured as a che admin. And how plugins/editors/applications should consume these certificate. |
@sunix Can you provide more details? In particular what's not clear is:
|
@sunix the custom certificate is trusted by the Che server (because it's able to communicate with Keycloak), by the plugin brokers (because they are able to communicate with the registries), by Theia (because it's able to communicate with the Che server). But somehow there is a process that probably looks in the bad (old/legacy) folder for trusted certificates and running tasks fail. |
To test: remove the certificate generated by chectl from the browser and see if terminal is working or not. |
I have somehow missed that the issue had been solved by eclipse-che/che-theia#1019. I thought that the issue was closed in favor of a doc issue. I will verify the fix and if it works for me I will close the issue later today.
I never install the certs generated by chectl anyway |
Closing as this issue as been solved. Although I am still not able to successfully run this scenario as I have found another bug 😡 |
Describe the bug
I have deployed Che on minikube. I am using a custom TLS certificate for Che endpoints.
That means that I have:
spec/k8s/tlsSecretName
and/spec/server/cheHostTLSSecret
to point to that secretWhen trying to run a task I get the following error:
Che version
nightly
Steps to reproduce
Deploy Che on minikube using chectl
Configure Che to use a custom certificate as described here
Start the Java maven sample
Try to start one of the 2 tasks provided
Expected behavior
The maven build should run successfully
Runtime
minikube
Installation method
$ chectl update next && \ chectl server:deploy \ -p minikube
Environment
macOS
The text was updated successfully, but these errors were encountered: