この操作を呼び出して、特定のドメイン名に SSL 証明書を設定します。
操作説明
この操作は、アカウントあたり毎秒 100 回まで呼び出すことができます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cdn:SetCdnDomainCSRCertificate |
update |
*Domain
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ServerCertificate |
string |
必須 |
証明書の内容。証明書は、CreateCdnCertificateSigningRequest 操作を呼び出して作成された証明書署名要求 (CSR) と一致する必要があります。証明書の内容が Base64 でエンコードされ、さらに encodeURIComponent でエンコードされていることを確認してください。 |
----BEGIN CERTIFICATE----- MIIFz****-----END CERTIFICATE----- |
| DomainName |
string |
必須 |
SSL 証明書を設定する高速化ドメイン名。ドメイン名で HTTPS セキュアアクセラレーションが有効になっている必要があります。 |
example.com |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
0AEDAF20-4DDF-4165-8750-47FF9C1929C9 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Certificate.MissingParameter | You must specify the Certificate parameter. | |
| 400 | Certificate.EncodeError | An error occurred while encoding the certificate. | |
| 400 | Certificate.DecodeError | An error occurred while decoding the certificate. | 証明書のデコード中にエラーが発生しました。 |
| 400 | Certificate.FormatError | The format of the certificate is invalid. | |
| 400 | Certificate.MissMatch | The certificate does not match the domain. | |
| 400 | Certificate.NoPrivateKey | The private key of the certificate does not exist. | |
| 500 | Internal.ForbidError | You cannot modify the configurations when some features of the domain are in a canary deployment. | |
| 500 | Internal.ConfigError | An error occurred while configuring the certificate. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。