Check_MK_Agent Encryptipn

Hi,

I have a question regarding the encryption process:

For example, in windows we use the check_mk.yml to perform the encryption process, in linux we need to create the encryption.cfg with:

ENCRYPTED=yes
PASSPHRASE=‘secret’

My question is, what is the algorithm or method that CMK use to encrypt the information for example AES, RSA, etc.

Thank you.

Hi Gustavo,
see Linux and Windows agent can now encrypt their output

All encryption happens with AES using 256 bit keys and CBC

i.e. symmetric encryption

1 Like

Thank you @gstolz

I found an actualization to this for the new versions including the 2.0:

Now It uses the sha-256 algorithm to encrypt the information if the openssl version is higher than version 1.0.0. if the version is below than the 1.0.0 use the md5 algorithm.

Thank you.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.