Managing the Agent Service Certificate
The agent service certificate is used for communication between the profiler and agent.
Prerequisites
You have logged in to the Kunpeng DevKit.
Only the administrator devadmin can generate certificates, replace certificates, and change working keys. Common users can only view certificate information.
Querying Agent Service Certificate Information
- Click
in the upper right corner of the page. Choose General Settings > Certificate Management > Agent Server Certificates. - View certificate details on the Agent Server Certificates page, as shown in Figure 1. Table 1 describes the parameters.
Table 1 Parameter description Parameter
Description
Node IP address
IP address of the node.
Node Name
Node name.
Certificate Name
Name of the certificate.
Certificate Expiration Time
Time when the certificate expires.
Status
Certificate status. The values are as follows:
- Valid: The certificate is valid.
- About to expire: The remaining validity period is less than or equal to the certificate expiration alarm threshold.
- Expired: The certificate has expired.
NOTE:- The tool automatically checks and updates the certificate status at 02:00 every day.
- The default alarm threshold of the agent service certificate is 90 days. The administrator can click
on the home page of the System Profiler and choose System Settings to change the value of Agent Certificate Expiration Alarm Threshold (days). The value ranges from 7 to 180 days.
Creating and Replacing a Certificate
The
- It is not advised to replace the certificate when executing an analysis task.
- Replace the certificate on the day when the certificate is generated.
- The dialog box for replacing a certificate is displayed only when you replace a certificate on an Agent node.
- Click Replace Certificate in the upper left corner on the Agent Service Certificates page. The Replace Certificate dialog box is displayed, as shown in Figure 2. The node installed by the root user is used as an example.
- Click OK.
Updating the Working Key
The working key is used to encrypt the private key files of the server and agent. For security purposes, you are advised to update the working key periodically.
It is not advised to update the working key when executing an analysis task.
- Click
in the upper right corner of the page. Choose General Settings > Certificate Management > Agent Server Certificates. - Click Update Working Key in the Operation column of a node.
The Update Working Key dialog box is displayed, as shown in Figure 3.
- Click OK.


