Mengambil konfigurasi server Keyless.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetKeylessServer |
get |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs, yang dapat diperoleh dengan memanggil operasi ListSites. |
5407498413**** |
| Id |
string |
Yes |
ID server Keyless. |
baba39055622c008b90285a8838e**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| SiteId |
integer |
ID situs. |
123456**** |
| SiteName |
string |
Nama situs. |
example.com |
| Id |
string |
ID server Keyless. |
baba39055622c008b90285a8838e**** |
| Name |
string |
Nama server Keyless. |
example |
| Host |
string |
Hostname server Keyless. |
example.com |
| Port |
integer |
Port server Keyless. Nilai valid: 1 hingga 65535. |
443 |
| Verify |
boolean |
Apakah akan memverifikasi Sertifikat server Keyless. Nilai default: false. Valid values:
|
true |
| CaCertificate |
string |
Sertifikat CA yang digunakan untuk memverifikasi Sertifikat server Keyless. Parameter ini hanya berlaku ketika Verify diatur ke true. |
-----BEGIN CERTIFICATE-----**** |
| ClientCertificate |
string |
Sertifikat klien. Parameter ini harus digunakan bersama dengan kunci privat klien. |
-----BEGIN CERTIFICATE-----**** |
| ClientPrivateKey |
string |
Kunci privat klien. Parameter ini harus digunakan bersama dengan Sertifikat klien. |
-----BEGIN RSA PRIVATE KEY-----**** |
| CreateTime |
string |
Pengatur waktu pembuatan. Pengatur waktu mengikuti format YYYY-MM-DDTHH:MM:SS+08:00 di zona waktu UTC/GMT. |
2025-07-18T20:33:31+08:00 |
| UpdateTime |
string |
Pengatur waktu modifikasi. Pengatur waktu mengikuti format YYYY-MM-DDTHH:MM:SS+08:00 di zona waktu UTC/GMT. |
2025-07-18T20:33:31+08:00 |
| RequestId |
string |
ID permintaan. |
3558df77-8a7a-4060-a900-2d794940**** |
Contoh
Respons sukses
JSONformat
{
"SiteId": 0,
"SiteName": "example.com",
"Id": "baba39055622c008b90285a8838e****",
"Name": "example",
"Host": "example.com",
"Port": 443,
"Verify": true,
"CaCertificate": "-----BEGIN CERTIFICATE-----****",
"ClientCertificate": "-----BEGIN CERTIFICATE-----****",
"ClientPrivateKey": "-----BEGIN RSA PRIVATE KEY-----****",
"CreateTime": "2025-07-18T20:33:31+08:00",
"UpdateTime": "2025-07-18T20:33:31+08:00",
"RequestId": "3558df77-8a7a-4060-a900-2d794940****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 | 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.