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

Can we disable Transport Layer TLS? #3921

Closed
10000-ki opened this issue Jan 5, 2024 · 6 comments
Closed

Can we disable Transport Layer TLS? #3921

10000-ki opened this issue Jan 5, 2024 · 6 comments
Labels
untriaged Require the attention of the repository maintainers and may need to be prioritized

Comments

@10000-ki
Copy link
Contributor

10000-ki commented Jan 5, 2024

Hi! I'm a user who really loves opensearch

I have one request.

https://opensearch.org/docs/latest/security/configuration/tls/#transport-layer-tls

TLS is optional for the REST layer and mandatory for the transport layer.

Transport layer tls is mandatory with a security plugin

But this can have a performance impact
In a cluster of internally secure situations, we don't have to use it

Can we use Transport Layer TLS optionally?

@github-actions github-actions bot added the untriaged Require the attention of the repository maintainers and may need to be prioritized label Jan 5, 2024
@peternied
Copy link
Member

@10000-ki This is a great question for our forums [1], can you repost your question over there?

By posting in our forms it helps make answers discoverable by search engines and has a community of developers, cluster admins, and users. I'm going to close out this issue.

@pawelw1
Copy link

pawelw1 commented Jan 10, 2024

@peternied As per documentation the TLS at the transport layer is mandatory by design. I assume this is a feature request to make the transport layer TLS optional.
There was a similar discussion already in the OpenDistro but it was closed and wasn't continued in the OpenSearch.
#37

@peternied
Copy link
Member

@pawelw1 So yes the documentation does say that about transport layer; however, v2.0.0's release the transport layer and the rest communication layers were merged. So this features area is ambiguous.

@pawelw1
Copy link

pawelw1 commented Jan 11, 2024

@peternied In v2.0.0 only client authentication/authorization has been deprecated in the Transport layer and moved to the REST layer (9200). OpenSearch nodes are still using the Transport layer with TLS to communicate with each other.

#1701

@10000-ki
Copy link
Contributor Author

I assume this is a feature request to make the transport layer TLS optional.

yes right

@10000-ki
Copy link
Contributor Author

When using a private internal network, not an external network
There are cases where it's enough to apply tls to the REST layer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged Require the attention of the repository maintainers and may need to be prioritized
Projects
None yet
Development

No branches or pull requests

3 participants