Skip to content
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

Document, or provide examples for, TLS configuration on OpenShift #1033

Closed
rhn-support-kboone opened this issue Oct 30, 2019 · 3 comments
Closed

Comments

@rhn-support-kboone
Copy link

It is not very obvious how to configure a Camel-K integration for TLS support on OpenShift. This is particularly relevant for integrations that act as service endpoints, rather than making outbound requests -- these will be subject to the OpenShift router if the client is outside the immediate OpenShft namespace.

The router can be configured to terminate TLS and do plaintext communication with the integration, and this might be appropriate for integrations that expose HTTP services. However, protocols other than HTTP will almost certainly need to use TLS pass-through, with routing information being derived from the TLS SNI header. This is because, once the TLS conversation is terminated, there is no longer an SNI header for the router to refer to, and protocols other than HTTP do not usually have an equivalent of the "Host:" header to use for routing. Pass-through is the recommendation for ActiveMQ/Artemis/Strimzi on OpenShift, for exactly this reason.

It would be good to document how to set this up, and to ensure that it actually works. It's likely that examples will have to be given for specific Camel components, because there is little uniformity in Camel itself about how to handle TLS and certificate storage.

@tomanwalker
Copy link

At this very moment, trying to figure out how to do SSL connection to AMQ broker.

--secret my-tls-secret --> doesn't work, I guess expects some propertyName in specific format

--resource client.ts --> creates config map with Empty property
--resource client.ts --compression -->creates config map with my file Base64 encoded, so now I need to decode on the fly?

@claudio4j
Copy link
Contributor

#2577 provides examples on how to run integration with different routes (no tls, edge, reencrypt, passthrough).

@claudio4j
Copy link
Contributor

There is a route documentation on how to use kamel run to setup TLS routes. @astefanutti can you close this issue
Reopen if you feel appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants