申请证书 接口¶
POST 请求证书 acdn:distributions:edit¶
POST /prod-api/acdn/ssl/acdn/requestCertificate
Body 请求参数
{
"domainName": "*.example.com",
"keyAlgorithm": "RSA_2048",
"options": {
"export": "DISABLED"
},
"validationMethod": "EMAIL",
"subjectAlternativeNames": ["demo.com"]
}
请求参数¶
名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
---|---|---|---|---|---|
Authorization | header | string | 是 | none | |
body | body | object | 是 | none | |
» domainName | body | string | 是 | 域名 | none |
» domainValidationOptions | body | [DomainValidationOption] | 否 | 验证域 - 可选 | none |
»» DomainValidationOption | body | DomainValidationOption | 否 | DomainValidationOption | none |
»»» domainName | body | string | 是 | 域名 | none |
»»» validationDomain | body | string | 否 | 验证域 - 可选 | none |
» keyAlgorithm | body | string | 是 | 密钥算法 | keyAlgorithm:RSA_2048(RSA 2048) |
» options | body | object | 否 | 允许导出 | none |
»» export | body | string | 否 | export: | |
» validationMethod | body | string | 是 | 验证方法 | validationMethod: |
详细说明¶
» keyAlgorithm: keyAlgorithm:RSA_2048(RSA 2048) EC_prime256v1(ECDSA P 256) EC_secp384r1(CDSA P 384)
»» certificateTransparencyLoggingPreference: export: DISABLED:禁用导出
» validationMethod: validationMethod: DNS:DNS 验证 EMAIL:电子邮件验证
返回示例
200 Response
201 Response
返回结果¶
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | none | Inline |
201 | Created | none | Inline |
401 | Unauthorized | none | Inline |
403 | Forbidden | none | Inline |
404 | Not Found | none | Inline |
返回数据结构¶
状态码 200
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
» msg | string | true | none | none | |
» code | integer | true | none | none |
数据模型¶
AWSCredentials
AWSCredentials
属性¶
None
AWSCredentialsProvider
AWSCredentialsProvider
属性¶
None
AmazonWebServiceRequest
{
"cloneSource": {
"cloneSource": {
"cloneSource": {
"cloneSource": {
"cloneSource": null,
"customQueryParameters": null,
"customRequestHeaders": null,
"generalProgressListener": null,
"requestClientOptions": null,
"requestCredentials": null,
"requestCredentialsProvider": null,
"requestMetricCollector": null,
"sdkClientExecutionTimeout": null,
"sdkRequestTimeout": null
},
"customQueryParameters": {
"property1": [null],
"property2": [null]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": null,
"skipAppendUriPath": null
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
},
"customQueryParameters": {
"property1": ["string"],
"property2": ["string"]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": 0,
"skipAppendUriPath": true
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
},
"customQueryParameters": {
"property1": ["string"],
"property2": ["string"]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": 0,
"skipAppendUriPath": true
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
},
"customQueryParameters": {
"property1": ["string"],
"property2": ["string"]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": 0,
"skipAppendUriPath": true
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
}
AmazonWebServiceRequest
属性¶
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
cloneSource | AmazonWebServiceRequest | false | none | none | |
customQueryParameters | object | false | none | none | |
» additionalProperties | [string] | false | none | none | |
customRequestHeaders | object | false | none | none | |
» additionalProperties | string | false | none | none | |
generalProgressListener | ProgressListener | false | none | none | |
requestClientOptions | RequestClientOptions | false | none | none | |
requestCredentials | AWSCredentials | false | none | none | |
requestCredentialsProvider | AWSCredentialsProvider | false | none | none | |
requestMetricCollector | RequestMetricCollector | false | none | none | |
sdkClientExecutionTimeout | integer(int32) | false | none | none | |
sdkRequestTimeout | integer(int32) | false | none | none |
Tag
{
"header": {
"property1": "string",
"property2": "string"
},
"skipSign": true,
"tagKey": "string",
"tagValue": "string"
}
Tag
属性¶
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
header | object | false | none | none | |
» additionalProperties | string | false | none | none | |
skipSign | boolean | false | none | none | |
tagKey | string | false | none | none | |
tagValue | string | false | none | none |
CertificateOptions
CertificateOptions
属性¶
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
export | string | false | none | none |
DomainValidationOption
DomainValidationOption
属性¶
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
domainName | string | true | none | 域名 | none |
validationDomain | string | false | none | 验证域 - 可选 | none |
ProgressListener
ProgressListener
属性¶
None
RequestCertificateRequest
{
"certificateAuthorityArn": "string",
"cloneSource": {
"cloneSource": {
"cloneSource": {
"cloneSource": {
"cloneSource": null,
"customQueryParameters": null,
"customRequestHeaders": null,
"generalProgressListener": null,
"requestClientOptions": null,
"requestCredentials": null,
"requestCredentialsProvider": null,
"requestMetricCollector": null,
"sdkClientExecutionTimeout": null,
"sdkRequestTimeout": null
},
"customQueryParameters": {
"property1": [null],
"property2": [null]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": null,
"skipAppendUriPath": null
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
},
"customQueryParameters": {
"property1": ["string"],
"property2": ["string"]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": 0,
"skipAppendUriPath": true
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
},
"customQueryParameters": {
"property1": ["string"],
"property2": ["string"]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"generalProgressListener": {},
"requestClientOptions": {
"readLimit": 0,
"skipAppendUriPath": true
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0
},
"customQueryParameters": {
"property1": ["string"],
"property2": ["string"]
},
"customRequestHeaders": {
"property1": "string",
"property2": "string"
},
"domainName": "string",
"domainValidationOptions": [
{
"domainName": "string",
"validationDomain": "string"
}
],
"generalProgressListener": {},
"idempotencyToken": "string",
"keyAlgorithm": "string",
"options": {
"export": "string"
},
"requestClientOptions": {
"readLimit": 0,
"skipAppendUriPath": true
},
"requestCredentials": {},
"requestCredentialsProvider": {},
"requestMetricCollector": {},
"sdkClientExecutionTimeout": 0,
"sdkRequestTimeout": 0,
"subjectAlternativeNames": ["string"],
"tags": [
{
"header": {
"property1": "string",
"property2": "string"
},
"skipSign": true,
"tagKey": "string",
"tagValue": "string"
}
],
"validationMethod": "string"
}
RequestCertificateRequest
属性¶
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
certificateAuthorityArn | string | false | none | none | |
cloneSource | AmazonWebServiceRequest | false | none | none | |
customQueryParameters | object | false | none | none | |
» additionalProperties | [string] | false | none | none | |
customRequestHeaders | object | false | none | none | |
» additionalProperties | string | false | none | none | |
domainName | string | true | none | 域名 | none |
domainValidationOptions | [DomainValidationOption] | false | none | 验证域 - 可选 | none |
generalProgressListener | ProgressListener | false | none | none | |
idempotencyToken | string | false | none | none | |
keyAlgorithm | string | true | none | 密钥算法 | keyAlgorithm:RSA_2048(RSA 2048) EC_prime256v1(ECDSA P 256) EC_secp384r1(CDSA P 384) |
options | CertificateOptions | false | none | 允许导出 | none |
requestClientOptions | RequestClientOptions | false | none | none | |
requestCredentials | AWSCredentials | false | none | none | |
requestCredentialsProvider | AWSCredentialsProvider | false | none | none | |
requestMetricCollector | RequestMetricCollector | false | none | none | |
sdkClientExecutionTimeout | integer(int32) | false | none | none | |
sdkRequestTimeout | integer(int32) | false | none | none | |
subjectAlternativeNames | [string] | false | none | none | |
tags | [Tag] | false | none | none | |
validationMethod | string | true | none | 验证方法 | validationMethod: DNS:DNS 验证 EMAIL:电子邮件验证 |
RequestClientOptions
RequestClientOptions
属性¶
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
readLimit | integer(int32) | false | none | none | |
skipAppendUriPath | boolean | false | none | none |
RequestMetricCollector
RequestMetricCollector
属性¶
None