After adding a KMS, you need to establish a trusted connection with the KMS using one of the following methods; otherwise, the KMS cannot provide encryption services for clusters.
Uploading the certificate and private key
Establish a trusted connection by uploading the certificate and private key of the key management server to AOC.
Creating a Certificate Signing Request (CSR)
Establish a trusted connection by creating a Certificate Signing Request (CSR). Generate a CSR based on the required information, provide the key management service with the generated CSR for signing, and then upload the signed certificate to AOC to establish the trusted connection.
Prerequisite
You have obtained the certificate and private key files of the key management server in advance.
Procedure
After uploading, the cluster will use the certificate and private key to establish a trusted connection when connecting to the key management service.
Procedure
In the key management service list, click … to the right of the target key management service, and select Establish trusted connection > Generate CSR. The Generate CSR dialog box is displayed.
Fill in the following information.
| Parameter | Description | Example |
|---|---|---|
| Organization | The company name or an abbreviated or alternative name that can identify the organization. | Arcfra |
| Department | The name of the department within the organization. | dev |
| City | The city where the organization is located. | Singapore |
| Province | The province where the organization is located. | - |
| Country | The country where the organization is located, which is a two-letter ISO country code. | SG |
| Email address | The contact's email address. | xxx@arcfra.com |
| Key algorithm | The encryption algorithm for the CSR, which can be SM2 or RSA. | SM2 |
Click Generate CSR. The system validates the information, and once the validation succeeds, the Export CSR dialog box is displayed.
Click Copy or Download, and upload the generated CSR to the key management service to obtain the signed certificate.
In the AOC key management service list, click … to the right of the target key management service, and select Establish trusted connection > Upload signed certificate. The Upload KMS-signed certificate dialog box is displayed.
Upload the signed certificate obtained in step 4 to AOC, and click Save.