Error Message "The certificate chain length must be greater than 1." Is Displayed During Certificate Upload
Symptom
When a certificate is uploaded to CCM, the error message "The certificate chain length must be greater than 1." is displayed.
Possible Causes
The upper-level CA certificate is not uploaded together with the current certificate.
Constraints
Before uploading certificates to CCM, ensure that the server certificate, CA certificate, and server private key have been generated. For details about how to generate certificates, see Using Easy-RSA to Issue Certificates (Server and Client Sharing a CA Certificate).
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- Click
in the upper left corner, and choose .
- In the navigation pane on the left, choose .
- Click the P2C VPN Gateways tab. In the P2C VPN gateway list, locate the target P2C VPN gateway, and click View Server in the Operation column.
- On the Server tab page, click Upload in the Server Certificate drop-down list box. The Cloud Certificate Manager page is displayed.
- On the SSL Certificate Manager page, click the Hosted Certificates tab and then click Upload Certificate.
- Use Notepad or Notepad++ to open the server certificate.
- Copy the certificate content to the Certificate File text box.
The certificate file format is as follows:
-----BEGIN CERTIFICATE----- Server certificate content -----END CERTIFICATE-----
- Use Notepad or Notepad++ to open the CA certificate used to issue the server certificate.
- Copy the certificate content to the Certificate File text box.
The certificate file format is as follows:
-----BEGIN CERTIFICATE----- Server certificate content -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- CA certificate content -----END CERTIFICATE-----
- Use Notepad or Notepad++ to open the private key of the server certificate.
- Copy the private key content to the Private Key text box.
The private key format is as follows:
-----BEGIN PRIVATE KEY----- Server private key content -----END PRIVATE KEY-----
- Click Submit. The certificates are uploaded.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot