wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Adapt packages install to use the cert creation tool

Open antoniomanuelfr opened this issue 2 years ago • 0 comments

Wazuh version Install type Action performed Platform
4.5 Manager Install/Upgrade/Remove OS version

Hello team!

In this issue https://github.com/wazuh/wazuh/issues/11295, the team is developing a new option for wazuh-authd to be able to generate the needed certificates using the already downloaded OpenSSL library instead of having OpenSSL as a dependency.

In order to generate the manager certificates, the following parameters must be added to the CLI:

  • -C Specify the certificate validity in days.
  • -B Specify the certificate key size in bits.
  • -K Specify the path to store the certificate key.
  • -X Specify the path to store the certificate.
  • -S Specify the certificate subject.
wazuh-authd -C 265 -B 2048 -K /var/ossec/etc/sslmanager.key -X /var/ossec/etc/sslmanager.cert -S "/C=US/ST=California/CN=wazuh/"

antoniomanuelfr avatar Jun 21 '22 15:06 antoniomanuelfr