che icon indicating copy to clipboard operation
che copied to clipboard

Write documentation, how to generate certificates for Che on Windows

Open AndrienkoAleksandr opened this issue 6 years ago • 11 comments

Is your enhancement related to a problem? Please describe.

We have some feedback https://github.com/eclipse/che-operator/pull/186#issuecomment-652376243, that there is a knowledge and documentation lack how to generate certificates for Che on Windows.

Describe the solution you'd like

It would be nice to have a docs section for Windows users how to generate and use certificates for Che.

AndrienkoAleksandr avatar Jul 01 '20 13:07 AndrienkoAleksandr

What is not clear is in what circumstances does a user need to generate a certificate? I thought that users do not need to manually generate the certs anymore. Isn't it the case @tolusha ?

l0rd avatar Jul 05 '20 22:07 l0rd

It is the case for minishift only when outdated certificate is used in minishift infrastructure.

tolusha avatar Jul 06 '20 06:07 tolusha

Any OCP 3.11 or minishift only?

On Mon, Jul 6, 2020, 08:16 Anatolii Bazko [email protected] wrote:

It is the case for minishift only when outdated certificate is used in minishift infrastructure.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eclipse/che/issues/17302#issuecomment-654037298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEUF35DS6NM5CIK6MSKYODR2FT4HANCNFSM4ONND2RA .

l0rd avatar Jul 06 '20 07:07 l0rd

Just minishift

tolusha avatar Jul 06 '20 07:07 tolusha

Ok so that need to be super clear. Minishift is probably the less used platform and we do not want that users spend their time generating certificates if not needed.

l0rd avatar Jul 06 '20 10:07 l0rd

@l0rd what would be your suggestion instead of minishift for windows? I've went with it because RedHat is hosting Che on minishift. At the beginning, i've tried setting it up on docker, but since the instructions were written the technologies have changed, as well as the commands. At the end i couldn't do it with docker. Then i decided to move on minishift and it worked right away(ca. February). After that i updated the chectl and since then i can't get my Che pod to start, it always times out. So i've tried setting up certificates and couldn't get it done. All the commands were written for linux, and i lack knowledge and experience to do it on my own. My question would be: What platform is the best for hosting Eclipse Che? I'm currently in the process of creating a custom build Che-Theia and hosting it on Che for my bachelor thesis. I would really appreciate if you could help me out with getting past Che pod timing out on minishift, or advice on what platform to choose instead.

erlansan avatar Jul 06 '20 13:07 erlansan

@erlansan For local testing you can use minikube. In this case a certificate will be created automatically for you.

tolusha avatar Jul 06 '20 13:07 tolusha

If you want to test Che locally (on your laptop) I would suggest minikube or CodeReady Containers. The latter requires much more memory.

l0rd avatar Jul 06 '20 13:07 l0rd

@tolusha , @l0rd , thank you for a fast response. I switched to minikube and it worked like you described. Then i added generated certificates into chrome and it's up and running. Thank you very much for your help, and thanks to @AndrienkoAleksandr for creating this thread.

erlansan avatar Jul 07 '20 13:07 erlansan

Docs Jira issue: https://issues.redhat.com/browse/RHDEVDOCS-2575

yhontyk avatar Jan 28 '21 12:01 yhontyk

@l0rd given you last comment we believe we can safely close this issue.

themr0c avatar Feb 09 '21 14:02 themr0c