Updated on 2024-10-11 GMT+08:00

Importing a Certificate

Scenario

CA certificates are used to encrypt data during communication between FusionInsight Manager modules and between cluster component clients and servers to ensure security. CA certificates can be quickly imported to FusionInsight Manager for product security. Import CA certificates in following scenarios:

  • When the cluster is installed for the first time, you need to replace the enterprise certificate.
  • If the enterprise certificate has expired or security hardening is required, you need to replace it with a new certificate.

Impact on the System

  • During certificate replacement, the cluster needs to be restarted. In this case, the system becomes inaccessible and cannot provide services.
  • After the certificate is replaced, the certificates used by all components and FusionInsight Manager modules are automatically updated.
  • After the certificate is replaced, you need to reinstall the certificate in the local environment where the certificate is not trusted.

Prerequisites

  • You have generated the certificate file and key file or obtained them from the enterprise certificate administrator.
  • You have obtained the files to be imported to the cluster, including the CA certificate file (*.crt), key file (*.key), and file that saves the key file password (password.property). The certificate name and key name can contain uppercase letters, lowercase letters, and digits. After the preceding files are generated, compress them into a TAR package.
  • You have obtained a password for accessing the key file, for example, Userpwd@123.

    To avoid potential security risks, the password must meet the following complexity requirements:

    • Contains at least 8 characters.
    • Contains at least four types of the following: uppercase letters, lowercase letters, numbers, and special characters (~`!?,.;-_'(){}[]/<>@#$%^&*+|\=).
  • When applying for certificates from the certificate administrator, you have provided the password for accessing the key file and applied for the certificate files in CRT, CER, CERT, and PEM formats and the key files in KEY and PEM formats. The requested certificates must have the issuing function.

Procedure

  1. Log in to FusionInsight Manager and choose System > Certificate.
  2. Click on the right of Upload Certificate. In the file selection window, browse to select the obtained TAR package of the certificate files.
  3. Click Upload.

    Manager uploads the compressed package and automatically imports the package.

  4. After the certificate is imported, the system displays a message asking you to synchronize the cluster configuration and restart the web service for the new certificate to take effect. Click OK.
  5. In the displayed dialog box, enter the password of the current login user and click OK. The cluster configuration is automatically synchronized and the web service is restarted.
  6. After the cluster is restarted, enter the URL for accessing FusionInsight Manager in the address box of the browser and check whether the FusionInsight Manager web page can be successfully displayed.
  7. Log in to FusionInsight Manager.
  8. Choose Cluster, click the name of the target cluster, choose Dashboard, click More, and select Restart.
  9. In the displayed dialog box, enter the password of the current login user and click OK.