Mengambil informasi sertifikat CA server asal.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetOriginCaCertificate |
get |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. Anda dapat memanggil operasi ListSites untuk mendapatkan ID situs. |
123456789**** |
| Id |
string |
Yes |
ID sertifikat. |
babaabcd**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| SiteId |
integer |
ID situs. |
123456789**** |
| SiteName |
string |
Nama situs. |
example.com |
| Status |
string |
Status sertifikat. |
OK |
| Certificate |
string |
Konten sertifikat. |
-----BEGIN CERTIFICATE----- |
| Result |
object |
Informasi sertifikat. |
|
| Id |
string |
ID sertifikat. |
babaabcd**** |
| Name |
string |
Nama sertifikat. |
yourCertName |
| Status |
string |
Status sertifikat. |
OK |
| Type |
string |
Tipe sertifikat. |
upload |
| CommonName |
string |
Common Name sertifikat. |
www.example.com |
| NotBefore |
string |
Waktu mulai periode validitas sertifikat. Format: YYYY-MM-DD HH:MM:SS, di zona waktu UTC/GMT. |
2023-03-31 02:08:00 |
| NotAfter |
string |
Waktu berakhir periode validitas sertifikat. Format: YYYY-MM-DD HH:MM:SS, di zona waktu UTC/GMT. |
2024-03-31 02:08:00 |
| Issuer |
string |
Penerbit sertifikat. |
GlobalSign nv-sa |
| SAN |
string |
Subject Alternative Name (SAN) sertifikat. |
www.example.com,*.example.com |
| SignatureAlgorithm |
string |
Algoritma tanda tangan sertifikat. |
SHA256-RSA |
| PubkeyAlgorithm |
string |
Algoritma kunci publik sertifikat. |
RSA |
| CreateTime |
string |
Waktu pembuatan. Format: YYYY-MM-DD HH:MM:SS, di zona waktu UTC/GMT. |
2024-03-05 18:24:04 |
| UpdateTime |
string |
Waktu pembaruan. Format: YYYY-MM-DD HH:MM:SS, di zona waktu UTC/GMT. |
2024-03-05 18:24:04 |
| SerialNumber |
string |
Nomor seri sertifikat. |
babaded901474b9693acf530e0fb1d** |
| FingerprintSha256 |
string |
Sidik jari SHA-256 sertifikat. |
1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a**** |
| RequestId |
string |
ID permintaan. |
3558df77-8a7a-4060-a900-2d7949403836 |
Contoh
Respons sukses
JSONformat
{
"SiteId": 0,
"SiteName": "example.com",
"Status": "OK",
"Certificate": "-----BEGIN CERTIFICATE-----",
"Result": {
"Id": "babaabcd****",
"Name": "yourCertName",
"Status": "OK",
"Type": "upload",
"CommonName": "www.example.com ",
"NotBefore": "2023-03-31 02:08:00",
"NotAfter": "2024-03-31 02:08:00",
"Issuer": "GlobalSign nv-sa",
"SAN": "www.example.com,*.example.com",
"SignatureAlgorithm": "SHA256-RSA",
"PubkeyAlgorithm": "RSA",
"CreateTime": "2024-03-05 18:24:04",
"UpdateTime": "2024-03-05 18:24:04",
"SerialNumber": "babaded901474b9693acf530e0fb1d**",
"FingerprintSha256": "1dc5fc9af4eead2570c70d94b416130baeb6d4429b51fd3557379588456a****"
},
"RequestId": "3558df77-8a7a-4060-a900-2d7949403836"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | Id.MissingParameter | The parameter Id is required. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 404 | Certificate.NotFound | The specified certificate does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.