Mengambil konfigurasi server keyless.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. Untuk mendapatkan ID ini, panggil operasi ListSites. |
5407498413**** |
| Id |
string |
Yes |
ID server keyless. |
baba39055622c008b90285a8838e**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| 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 yang valid: 1 hingga 65535. |
443 |
| Verify |
boolean |
Menunjukkan apakah akan memverifikasi sertifikat server dari server keyless. Nilai default adalah false. Valid values:
|
true |
| CaCertificate |
string |
Sertifikat CA yang digunakan untuk memverifikasi sertifikat server dari server keyless. Parameter ini hanya berlaku ketika Verify diatur ke true. |
-----BEGIN CERTIFICATE-----**** |
| ClientCertificate |
string |
Sertifikat klien. Harus disediakan berpasangan dengan kunci privat klien. |
-----BEGIN CERTIFICATE-----**** |
| ClientPrivateKey |
string |
Kunci privat klien. Harus disediakan berpasangan dengan sertifikat klien. |
-----BEGIN RSA PRIVATE KEY-----**** |
| CreateTime |
string |
Waktu pembuatan. |
2024-03-11T01:23:21Z |
| UpdateTime |
string |
Waktu pembaruan. |
2025-03-13T02:13:28Z |
| 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": "2024-03-11T01:23:21Z\n",
"UpdateTime": "2025-03-13T02:13:28Z",
"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.