キーレスサーバーの構成を作成または更新します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。この ID は、ListSites 操作を呼び出すことで取得できます。 |
123456**** |
| Host |
string |
必須 |
キーレスサーバーのホスト名。値には、ドメイン名または IP アドレスを指定できます。 |
keyless.example.com |
| Port |
integer |
必須 |
キーレスサーバーのポート。 |
443 |
| Verify |
boolean |
任意 |
キーレスサーバーのサーバー証明書を検証するかどうかを指定します。デフォルト: false。 |
true |
| CaCertificate |
string |
任意 |
キーレスサーバーのサーバー証明書を検証するために使用される CA 証明書。このパラメーターは、 |
-----BEGIN CERTIFICATE-----**** |
| ClientCertificate |
string |
任意 |
クライアント証明書。このパラメーターは、 |
-----BEGIN CERTIFICATE-----**** |
| ClientPrivateKey |
string |
任意 |
クライアント秘密鍵。このパラメーターは、 |
-----BEGIN RSA PRIVATE KEY-----**** |
| Id |
string |
任意 |
キーレスサーバー ID。 |
baba39055622c008b90285a8838e**** |
| Name |
string |
必須 |
キーレスサーバー名。 |
example |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答オブジェクト。 |
||
| RequestId |
string |
リクエスト ID。 |
34DCBC8A-****-****-****-6DAA11D7DDBD |
| Id |
string |
キーレスサーバー ID。 |
babaabcd**** |
| SiteId |
integer |
サイト ID。 |
123456**** |
| SiteName |
string |
サイト名。 |
example.com |
例
成功レスポンス
JSONJSON
{
"RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD",
"Id": "babaabcd****",
"SiteId": 0,
"SiteName": "example.com"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。