Managing certificates requires the rights of a user with the Administrator (admin) role.
You can manage certificates used to connect to the KATA server / NDR server using commands. You can do the following with certificates:
To add or change a server certificate,
run one of the following commands:
kesl-control [-R] --add-kataedr-server-certificate <
file path
>
kesl-control [-R] --add-katandr-server-certificate <
file path
>
where <
file path
>
is the path to the file containing the server certificate.
To add or change a client certificate:
kesl-control [-R] --add-kataedr-client-certificate <
file path
>
kesl-control [-R] --add-katandr-client-certificate <
file path
>
where <
file path
>
is the path to the cryptocontainer (PFX archive) containing the client certificate and private key.
The client certificate is used for additional protection of the connection with the KATA server / NDR server if client certificate verification is enabled in the KATA server / NDR server settings and in the task settings of the Kaspersky Endpoint Detection and Response (KATA) Integration or Kaspersky Network Detection and Response (KATA) Integration task, UseClientPinnedCertificate
is set to yes
.
To display information about the server certificate,
run one of the following commands:
kesl-control [-R] --query-kataedr-server-certificate
kesl-control [-R] --query-katandr-server-certificate
To display information about the client certificate,
run one of the following commands:
kesl-control [-R] --query-kataedr-client-certificate
kesl-control [-R] --query-katandr-client-certificate
Running the command displays the following certificate information:
To remove a server certificate,
run one of the following commands:
kesl-control [-R] --remove-kataedr-server-certificate
kesl-control [-R] --remove-katandr-server-certificate
To remove a client certificate,
run one of the following commands:
kesl-control [-R] --remove-kataedr-client-certificate
kesl-control [-R] --remove-katandr-client-certificate