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

Ansible Node - Enforce private key permission and bind permissions to scylla user #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 5, 2022

  1. Ansible Node - Enforce private key permission and bind permissions to…

    … scylla user
    
    When the source playbook is executed with `become: True` its relevant TLS certificates will be owned by root. This causes a problem, because later on when trying to copy we are unable to read the resulting private key file, as it is (correctly) created by default with mode 0600.
    
    This commit let Ansible generate each PKI component with mode 0644. Then, ensure these are copied to the remote machine's with strict permissions to scylla user/group. Finally, ensure that the private key is only readable by its target user - both locally and remotely.
    
    Fixes scylladb#139
    fee-mendes committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    854c02d View commit details
    Browse the repository at this point in the history