Mengajukan aplikasi perpanjangan untuk Sertifikat SSL yang telah diterbitkan.
Deskripsi operasi
You can call the RenewCertificateOrderForPackageRequest operation to submit a renewal application for a certificate only when the order of the certificate is in the expiring state. After the renewal is complete, a new certificate order whose status is pending application is generated. You must submit a certificate application for the new certificate order and install the new certificate after the new certificate is issued.
You can call the DescribeCertificateState operation to query the status of a certificate application order. If the value of the Type response parameter is certificate, the certificate is issued.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:RenewCertificateOrderForPackageRequest |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
ID Pesanan aplikasi Sertifikat yang ingin Anda perpanjangan. Catatan
Setelah Anda memanggil operasi CreateCertificateForPackageRequest, CreateCertificateRequest, atau CreateCertificateWithCsrRequest untuk mengajukan aplikasi Sertifikat, Anda dapat memperoleh ID Pesanan aplikasi Sertifikat dari parameter respons OrderId. Anda juga dapat memanggil operasi ListUserCertificateOrder untuk memperoleh ID Pesanan. |
123451222 |
| Csr |
string |
No |
Konten file certificate signing request (CSR) yang dibuat secara manual untuk nama domain menggunakan OpenSSL atau Keytool. Algoritma kunci dalam file CSR harus Rivest-Shamir-Adleman (RSA) atau elliptic-curve cryptography (ECC), dan panjang kunci algoritma RSA harus lebih besar dari atau sama dengan 2.048 karakter. Untuk informasi selengkapnya tentang cara membuat file CSR, lihat Bagaimana cara membuat file CSR? Jika Anda tidak menentukan parameter ini, Certificate Management Service secara otomatis membuat file CSR untuk nama domain dalam Pesanan aplikasi Sertifikat yang ingin Anda perpanjangan. File CSR berisi informasi tentang server dan perusahaan Anda. Saat Anda mengajukan aplikasi Sertifikat, Anda harus mengirimkan file CSR ke CA. CA menandatangani file CSR menggunakan kunci privat Sertifikat root dan menghasilkan file kunci publik untuk menerbitkan Sertifikat Anda. Catatan
Bidang CN dalam file CSR menentukan nama domain yang terikat ke Sertifikat. |
-----BEGIN CERTIFICATE REQUEST----- MIIC1TCCAb0CAQAwgY8xCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlHdWFuZ3pob3Ux ETAPBgNVBAcMCFNoZW56aGVuMQ8wDQYDVQQKDAZDaGFjdW8xEDAOBgNVBAsMB0lU IERlcHQxFzAVBgNVBAMMDnd3dy5jaGFjdW8ubmV0MR0wGwYJKoZIhvcNAQkBFg44 MjkyNjY5QHFxLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALo7 atRvQf9tKo1NJ/MQqzHvIjHNhU+0MMerDq+tRlJ+a7Ro1r6IWNF5MB0Z****** -----END CERTIFICATE REQUEST----- |
| Tags |
array<object> |
No |
Daftar tag. |
|
|
object |
No |
The tags. |
||
| Key |
string |
No |
The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string. A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain http:// or https://. |
account |
| Value |
string |
No |
The value of the resource tag. A maximum of 20 tag values can be entered. If this value needs to be passed in, an empty string can be entered. A maximum of 128 characters are supported, it cannot start with 'aliyun' or 'acs:', and it cannot contain 'http://' or 'https://'. |
test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| OrderId |
integer |
The ID of the certificate application order that is renewed. Catatan
You can use the ID to query the status of the certificate application order. For more information, see DescribeCertificateState. |
323451222 |
| RequestId |
string |
The ID of the request. |
082FAB35-6AB9-4FD5-8750-D36673548E76 |
Contoh
Respons sukses
JSONformat
{
"OrderId": 323451222,
"RequestId": "082FAB35-6AB9-4FD5-8750-D36673548E76"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.