Mengajukan sertifikat gratis.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:ApplyCertificate |
create |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. |
1234567890123 |
| Domains |
string |
Yes |
Daftar nama domain yang dipisahkan koma. |
www.example.com,blog.example.com |
| Type |
string |
No |
Tipe sertifikat. Nilai valid: Valid values:
|
lets_encrypt |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| SiteName |
string |
The site name. |
example.com |
| TotalCount |
integer |
The total number of certificates requested, which matches the number of domain names provided in the request. |
2 |
| Result |
array<object> |
A list of application details for each free certificate. |
|
|
object |
The details for a free certificate application. |
||
| Domain |
string |
The certificate domain name. |
*.example.com |
| Status |
string |
The certificate application status. |
Applying |
| Id |
string |
The certificate ID. |
30000478 |
| RequestId |
string |
The request ID. |
156A6B-677B1A-4297B7-9187B7-2B44792 |
Contoh
Respons sukses
JSONformat
{
"SiteName": "example.com ",
"TotalCount": 2,
"Result": [
{
"Domain": "*.example.com ",
"Status": "Applying",
"Id": "30000478"
}
],
"RequestId": "156A6B-677B1A-4297B7-9187B7-2B44792"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SiteNotFound | The specified site is not found. | |
| 400 | SiteNotActivated | The site is not activated, the process is not allowed. | |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | InvalidParameter.Domains | You have already submitted a certificate application for the domain name. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | QuotaCheckFailed | Failed to check free certificate Quota, please try again later. | |
| 400 | InvalidParameter.Type | The specified Type parameter is invalid, please check and try again. | |
| 400 | QuotaExceed.RecordCount | The maximum number of records has been reached. Delete some and try again or upgrade your plan. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 403 | QuotaExceeded | The quota is exceeded. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.