ドメイン名の証明書を有効化または無効化し、証明書情報を変更します。
操作説明
この操作は、中国 (上海) リージョンでのみ利用可能です。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vod:SetVodDomainCertificate |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DomainName |
string |
必須 |
証明書によって保護されるドメイン名。ドメイン名では HTTPS アクセラレーションを使用する必要があります。 |
example.com |
| CertName |
string |
任意 |
証明書の名前。 |
cert_name |
| SSLProtocol |
string |
必須 |
SSL 証明書を有効にするかどうかを指定します。デフォルト値:off。有効な値:
|
off |
| SSLPub |
string |
任意 |
証明書の内容。このパラメーターは、SSL 証明書を有効にする場合にのみ必須です。 |
**** |
| SSLPri |
string |
任意 |
秘密鍵。このパラメーターは、SSL 証明書を有効にする場合にのみ必須です。 |
**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
04F0F334-1335-436C-****-6C044FE73368 |
例
成功レスポンス
JSONJSON
{
"RequestId": "04F0F334-1335-436C-****-6C044FE73368"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidSSLProtocol.ValueNotSupported | The specified value of parameter SSLProtocol is not supported. | |
| 400 | SSLPub.MissingParameter | An input parameter "SSLPub" that is mandatory for processing the request is not supplied. | |
| 400 | SSLPri.MissingParameter | An input parameter "SSLPri" that is mandatory for processing the request is not supplied. | |
| 400 | InvalidSSLPub | The SSLPub you provided is malformed! | |
| 400 | InvalidSSLPri | The SSLPri you provided is malformed! | |
| 400 | Certificate.MissMatch | The SSLPri does not math the specified Certificate! | |
| 400 | InvalidCertificate.TooLong | The Certificate you provided is over the max length! | |
| 400 | InvalidCertName.TooLong | The Certificate name you provided is over the max length 128! | |
| 400 | Certificate.NotPermittedOff | Turn off certificate will change domain scheduling, please contact customer service | |
| 400 | Certificate.SetNotEffect | Certificate was successfully set but doesn't take effect for protecting current service. Please contact customer service. | |
| 400 | AuthenticationFailed | Authentication failed. | |
| 400 | SetDomainCertificate.ParameterError | Parameters have error. | |
| 400 | InvalidSSLPubOrInvalidSSLPri | The SSLPri or SSLPub you provided is malformed! | |
| 400 | Certificate.StatusError | Certificate is not exist or its status is error. | |
| 400 | DeleteFailed | Delete certificate is failed. | |
| 400 | Certificate.NotFind | Not find the certificate info. | |
| 400 | Certificate.Duplicated | The certificate name is duplicated. | |
| 400 | Certificate.FormatError | The certificate format is error. | |
| 400 | Certificate.KeyNull | The private key is not null. | |
| 400 | Key.Malformed | The private key format is error. | |
| 400 | CertStorage.failed | The certificate storage failed. | |
| 400 | CertificateContent.Duplicated | The certificate is already uploaded, please don't upload again. | |
| 400 | Certificate.Expired | The certificate is expired. | |
| 400 | InvalidDomain.notOnline | The domain is not online, please check the domain status and try again later. | |
| 400 | Decode.Error | The certificate sslpub or sslpri decode error. | |
| 400 | sslPub.Error | The SSLPub encoded failed. | |
| 400 | sslPri.Error | The SSLPri encoded failed. | |
| 400 | DomainInSafeMode | This domain is in the safe mode. if you want to do this operation, please contact us! | |
| 400 | DomainInProtectedMode | This domain is in the protected mode. if you want to do this operation, please contact us! | |
| 403 | IllegalOperation | Illegal domain operate is not permitted. | |
| 403 | ServiceBusy | The specified Domain is configuring, please retry later |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。