Uploads a PCA certificate to a certificate warehouse.
Operation description
Use this operation to upload a PCA certificate to a certificate warehouse.
QPS limit
The QPS limit for this operation is 10 requests per second per user. Exceeding this limit triggers throttling, which can affect your business.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WarehouseId |
integer |
Yes |
The ID of the certificate warehouse. Note
Call ListCertWarehouse to obtain this ID. |
1 |
| Cert |
string |
Yes |
The content of the certificate and its chain, in PEM format. |
-----BEGIN CERTIFICATE----- MIIEJDCCAwygAwIBAgIQITRHItTLTQizTyd3K7AMRTANBgkqhkiG9w0BAQsFADBe **************** 5/akmr2GK/Y= -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIIDuzCCAqOgAwIBAgIQSEIWDPfWTDKZcWNyL2O+fjANBgkqhkiG9w0BAQsFADBf **************** URUHyMW5Qd5Q9g6Y4sDOIm6It9TF7EjpwMs42R30agcRYzuUsN72ZFBYFJwnBX8= -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIIDizCCAnOgAwIBAgIRAMfjPkDKfELTo07l3A3cUSYwDQYJKoZIhvcNAQELBQAw ********* CjWTnYPhCcO2uIcnqMt7zCVs5LXBK/XSwlAXKMvKT0uuzw9VxeMfEabflKu0By8= -----END CERTIFICATE----- |
| PrivateKey |
string |
No |
The private key of the certificate, in PEM format. |
-----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA5SIfpNCBoiDrZhX1H39CHwQMVD0kBNeBTWfP9xkeesvfzbOz ******* POVNFfDf9h7pJtQ5fRZNTYTDs/d+cH62Z3+nS74mNnEfff0nkvne -----END RSA PRIVATE KEY----- |
| Name |
string |
No |
A custom name for the certificate. |
cert_name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| Identifier |
string |
The unique identifier for the certificate. |
1ed65580-7e33-6a50-8630-dd13fdc009ee |
Examples
Success response
JSON format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"Identifier": "1ed65580-7e33-6a50-8630-dd13fdc009ee"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.