Membuat atau memperbarui konfigurasi server keyless.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID situs. Anda dapat memperoleh ID ini dengan memanggil operasi ListSites. |
123456**** |
| Host |
string |
Yes |
Nama host server keyless. Nilainya dapat berupa nama domain atau alamat IP. |
keyless.example.com |
| Port |
integer |
Yes |
Port server keyless. |
443 |
| Verify |
boolean |
No |
Menentukan apakah akan memverifikasi sertifikat server dari server keyless. Default: false. |
true |
| CaCertificate |
string |
No |
Sertifikat CA yang digunakan untuk memverifikasi sertifikat server dari server keyless. Parameter ini hanya berlaku ketika |
-----BEGIN CERTIFICATE-----**** |
| ClientCertificate |
string |
No |
Sertifikat klien. Parameter ini harus digunakan bersama parameter |
-----BEGIN CERTIFICATE-----**** |
| ClientPrivateKey |
string |
No |
Kunci pribadi klien. Parameter ini harus digunakan bersama parameter |
-----BEGIN RSA PRIVATE KEY-----**** |
| Id |
string |
No |
ID server keyless. |
baba39055622c008b90285a8838e**** |
| Name |
string |
Yes |
Nama server keyless. |
example |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek respons. |
||
| RequestId |
string |
ID permintaan. |
34DCBC8A-****-****-****-6DAA11D7DDBD |
| Id |
string |
ID server keyless. |
babaabcd**** |
| SiteId |
integer |
ID situs. |
123456**** |
| SiteName |
string |
Nama situs. |
example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD",
"Id": "babaabcd****",
"SiteId": 0,
"SiteName": "example.com"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Certificate.Duplicated | The certificate name already exists. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | InvalidCertificate.NotFound | The specified certificate does not match the website. Check the validity of the certificate and try again. | |
| 400 | PrivateKey.MissingParameter | The PrivateKey parameter is required. | |
| 400 | Certificate.MissingParameter | The Certificate parameter is required. | |
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 400 | InvalidSSLPub | The specified Certificate is invalid. | |
| 400 | InvalidSSLPri | The specified PrivateKey is invalid. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | UpdateFreeCertificate.NotSupport | The free certificate does not support the update operation. | |
| 400 | CertificateDomainNotMatchSite | The domain name in the specified certificate does not match the site. | |
| 400 | CertificateNotMatchPrivateKey | The specified certificate does not match the private key. | |
| 400 | CertQuotaCheckFailed | The custom certificate quota verification failed. The number of uploaded certificates exceeds the upper limit allowed for the plan. | |
| 404 | Certificate.NotFound | The specified certificate does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.