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

TLS between the components #361

Open
ppaslan opened this issue Jun 1, 2023 · 3 comments
Open

TLS between the components #361

ppaslan opened this issue Jun 1, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ppaslan
Copy link

ppaslan commented Jun 1, 2023

Hi, first of all, thanks for all your hard work with this Ansible playbook as it makes deployment much easier for a lot of reasons but there is something that i am very curious about.

Are the components communicating through TLS or plaintext?
I cannot see any settings for TLS/Certification setup.

@vitabaks
Copy link
Owner

vitabaks commented Jun 1, 2023

At the moment, TLS is not configured automatically. I think it's worth adding such an option.

Feel free to create a PR.

@ppaslan
Copy link
Author

ppaslan commented Jun 1, 2023

At the moment, TLS is not configured automatically. I think it's worth adding such an option.

Feel free to create a PR.

Thank you for the fast response.

Assuming using the Type B configuration, and ETCD and Postgresql resides on the same host, which components communicate with each other? Basically to achieve full TLS between every components that talk to each other outside of localhost, which components do we have to activate TLS for?

We are planning to initially adjust the playbook to work with TLS with the configuration above but are also planning to make it work for all the types and setups and provide a PR later on in order to contribute to the project.

@vitabaks
Copy link
Owner

vitabaks commented Jun 1, 2023

Assuming using the Type B configuration, and ETCD and Postgresql resides on the same host, which components communicate with each other? Basically to achieve full TLS between every components that talk to each other outside of localhost, which components do we have to activate TLS for?

This is a good recommendation, but it is not a strict requirement, even for a production environment, if your cluster is located in your own data center with a secure network.
In addition, sensitive information is not stored in DCS.

To begin with, TLS between the client and the database will be enough. Then it is already possible to implement TLS for the rest of the components (e.q. Patroni, etcd, consul).

@vitabaks vitabaks added enhancement New feature or request good first issue Good for newcomers labels Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants