To change the default IAM certificate:
/var/opt/kaspersky/klnagent_srv/iam/iam_config.yamlIn this file, add paths to IAM certificate files to the server_iam section:
certificates.main.cert: Path to the primary certificate file.certificates.main.key: Path to the private key of the primary certificate. The private key must not be password-protected./etc/ksc-web-console-setup.jsonIn this file, set the iamCertPath field value to the path to the public key of the primary certificate.
sudo service kliam_srv restart
Once reinstalled, the Web Console uses the custom IAM certificate.
To change the reserve IAM certificate:
/var/opt/kaspersky/klnagent_srv/iam/iam_config.yamlIn this file, specify paths to IAM certificate files:
server_iam.certificates.reserve.cert: Path to the primary certificate file.server_iam.certificates.reserve.key: Path to the private key of the primary certificate. The private key must not be password-protected.sudo service kliam_srv restart
Once the primary certificate file expires, the reserve IAM certificate is used instead.