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

pki: make openssl database non-writable for others #558

Merged
merged 1 commit into from
Jul 27, 2022

Commits on Jul 27, 2022

  1. pki: make certificates only readable to group and others

    even though we copy these to hosts it's not a good idea to allow them to
    be overwritten by a random user. Openssl database files are also always
    recreated, umask should take care of all of that.
    Ansible does not use default umask from OS so we need to explicitly set
    it. We can use login shell to figure out the effective command-line umask
    value.
    michalskrivanek committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    c8174a2 View commit details
    Browse the repository at this point in the history