-
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
https-endpoint with tls-termination passtrough on openshift #14622
Comments
@skabashnyuk This seems like a bug, right? |
@wgbeckmann I think that the situation (che on http but some endpoints on https) that you've described was never considered as "working". The only suggestion that I have is to enable TLS for the whole Che environment https://github.com/eclipse/che/blob/master/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties#L558 |
@skabashnyuk: Ok, but what does that mean in concrete for a server if I set the attribut in a tls enabled environment to http, would openshift`s router automaticaly remove the https encryption?
That sounds for me: Your traffic is only tunneld and not mainpulated. |
That means that che server will override this property and set https instead of http. Opposite situation afaik never tested/checked.
I would say in "production" scenario we should always enable TLS |
@skabashnyuk: Before I change everything. Again the question: What happens when a sevice itselfs serves https? Do Openshift uses passthrough or reencryption? |
@wgbeckmann I don't know. |
Is there any update on this? I'm trying to use odo with devfiles and it's creating application route as tls termination: edge. Manually creating route with tls termination passthrough works fine, but like @wgbeckmann I'd like to configure this through the devfile. Thanks |
@davidfestal @l0rd Is it something at least addressed in the Devfile 2.0 Spec? |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Hi,
I have in my devfile an endpoint, that servs a https application.
So I defined the following in my devfile:
But Openshift creates a normal http-route.
When I configure the generatet openshift route manualy to secure and TLS-termination to passtrough it works. But I want to configure it via the devfile.
So, how do I do it?
If you want to test it:
Here is the complete devfile:
After you start the workspace you have to configure the payara. (not yet automated)
Start a new terminal in the payara user-runtime and:
After this you edit the generated route directly in openshift as described above.
The text was updated successfully, but these errors were encountered: