Modifying the self-signed web console certificate

Before changing KUMA certificate, make sure to back up the previous certificate and key with the names external.cert.old and external.key.old respectively.

After installing the KUMA Core, the installer creates the following certificates in the /opt/kaspersky/kuma/core/certificates folder:

To replace the KUMA web console certificate with an external certificate:

  1. Switch to root user operation:

    sudo -i

  2. Go to the certificates directory:

    cd /opt/kaspersky/kuma/core/certificates

  3. Make a backup copy of the current certificate and key:

    mv external.cert external.cert.old && mv external.key external.key.old

  4. In OpenSSL, convert the PFX file to a certificate and an encrypted key in PEM format:

    openssl pkcs12 -in kumaWebIssuedByCorporateCA.pfx -nokeys -out external.cert

    openssl pkcs12 -in kumaWebIssuedByCorporateCA.pfx -nocerts -nodes -out external.key

    When carrying out the command, you are required to specify the PFX key password (Enter Import Password).

    As a result, the external.cert certificate and the external.key in PEM format are returned.

  5. Place the returned external.cert certificate and external.key files in the /opt/kaspersky/kuma/core/certificates directory.
  6. Change the owner of the key files:

    chown kuma:kuma external.cert external.key

  7. Restart KUMA:

    systemctl restart kuma-core

  8. Refresh the web page or restart the browser hosting the KUMA web interface.

Your company certificate and key have been replaced.

Page top