Skip to content

Commit

Permalink
Merge pull request #1463 from stackhpc/cherry-pick-c3c099-stackhpc/20…
Browse files Browse the repository at this point in the history
…23.1

(doc)wazuh: Update encryption pattern for private keys (cherry-pick #1461)
  • Loading branch information
Alex-Welsh authored Jan 16, 2025
2 parents 110d039 + 9645158 commit fa3cc96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/configuration/wazuh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,11 @@ If you are using the wazuh generated certificates,
this will result in the creation of some certificates and keys (in case of custom certs adjust path to it).
Encrypt the keys (and remember to commit to git):

``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/<environment>/wazuh/wazuh-certificates/*.key``
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/<environment>/wazuh/wazuh-certificates/*.key $KAYOBE_CONFIG_PATH/environments/<environment>/wazuh/wazuh-certificates/*-key.pem``

If using the kayobe environments feature, otherwise:

``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/ansible/wazuh/certificates/certs/*.key``
``ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/ansible/wazuh/certificates/certs/*.key $KAYOBE_CONFIG_PATH/ansible/wazuh/certificates/certs/*-key.pem``

.. _wazuh-verification:

Expand Down

0 comments on commit fa3cc96

Please sign in to comment.