You can call this operation to configure digital certificates for domains.

Request parameters

Name Type Required Description
Domain String Yes The domain name that you want to change settings for.
CertId Integer No The ID of the certificate.
Note If this parameter is specified, CertName, Cert, or Key is not needed.
CertName String No The name of the certificate.
Note If this parameter is specified, you must also specify Cert and Key. If CertName, Cert, and Key are specified, CertId is not needed.
Cert String No The public key of the certificate.
Note If this parameter is specified, you must also specify CertName and Key. If CertName, Cert, and Key are specified, CertId is not needed.
Key String No The private key of the certificate.
Note If this parameter is specified, you must also specify CertName and Cert. If CertName, Cert, and Key are specified, CertId is not needed.

Response parameters

Name Type Description
RequestId String The GUID generated by Alibaba Cloud for the request.

Examples

Sample requests
{
  "Domain" : "www.alibaba.com",
  "CertId" : 1,
  "CertName" : "xxxx",
  "Cert" : "abc",
  "Key" : "bcd"
}
Sample responses
{
  "RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc"
}