CZERTAINLY ACME API (2.16.1)
Download OpenAPI specification:Download
REST API for managing ACME Profiles and ACME Accounts in the platform
Revoke multiple ACME Accounts
Authorizations:
Request Body schema: application/jsonrequired
ACME Account UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 400
- 403
- 404
{- "message": "Error message"
}Details of ACME Account
Authorizations:
path Parameters
| acmeProfileUuid required | string ACME Profile UUID |
| acmeAccountUuid required | string ACME Account UUID |
Responses
Response samples
- 200
- 400
- 403
- 404
{- "accountId": "TtrgfYTR6F",
- "uuid": "6b55de1c-844f-11ec-a8a3-0242ac120002",
- "enabled": false,
- "totalOrders": 23,
- "successfulOrders": 2,
- "failedOrders": 239,
- "pendingOrders": 24,
- "validOrders": 23,
- "processingOrders": 27,
- "status": "valid",
- "contact": [
- "mailto: someadmin@domain.com"
], - "termsOfServiceAgreed": true,
- "raProfile": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "authorityInstanceUuid": "string"
}, - "acmeProfileName": "ACME Profile 1",
- "acmeProfileUuid": "6b55de1c-844f-11ec-a8a3-0242ac120002"
}Enable multiple ACME Accounts
Authorizations:
Request Body schema: application/jsonrequired
ACME Account UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 400
- 403
- 404
{- "message": "Error message"
}Disable multiple ACME Accounts
Authorizations:
Request Body schema: application/jsonrequired
ACME Account UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 400
- 403
- 404
{- "message": "Error message"
}Response samples
- 200
- 400
- 403
- 404
[- {
- "accountId": "HJAT6gc7i6",
- "uuid": "6b55de1c-844f-11ec-a8a3-0242ac120002",
- "enabled": false,
- "totalOrders": 4,
- "status": "valid",
- "raProfile": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "authorityInstanceUuid": "string"
}, - "acmeProfileName": "ACMEProfile1",
- "acmeProfileUuid": "6b55de1c-844f-11ec-a8a3-0242ac120002"
}
]Get details of ACME Profile
Authorizations:
path Parameters
| uuid required | string ACME Profile UUID |
Responses
Response samples
- 200
- 400
- 403
- 404
{- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "description": "Sample description",
- "dnsResolverIp": "8.8.8.8",
- "dnsResolverPort": "53",
- "raProfile": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "authorityInstanceUuid": "string"
}, - "retryInterval": 30,
- "termsOfServiceChangeDisable": false,
- "validity": 36000,
- "requireContact": true,
- "requireTermsOfService": true,
- "issueCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "revokeCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "certificateAssociations": {
- "ownerUuid": "2f67a69d-7a41-4726-a25d-6a964681865a",
- "groupUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
]
}
}Edit ACME Profile
Authorizations:
path Parameters
| uuid required | string ACME Profile UUID |
Request Body schema: application/jsonrequired
| description | string Description of the ACME Profile |
| termsOfServiceUrl | string Terms of Service URL |
| websiteUrl | string Website URL |
| dnsResolverIp | string Default: "System Default" DNS Resolver IP address |
| dnsResolverPort | string Default: "53" DNS Resolver port number |
| raProfileUuid | string RA Profile UUID |
| retryInterval | integer <int32> Default: 30 Retry interval for the Orders |
| termsOfServiceChangeDisable | boolean Default: false Disable new Orders due to change in Terms of Service |
| termsOfServiceChangeUrl | string Changes of Terms of Service URL |
| validity | integer <int32> Default: 36000 Order Validity |
required | Array of objects (RequestAttributeDto) List of Attributes to issue Certificate |
required | Array of objects (RequestAttributeDto) List of Attributes to revoke Certificate |
| requireContact | boolean Default: false Require contact information for new Account |
| requireTermsOfService | boolean Default: false Require new Account to agree on Terms of Service |
Array of objects (RequestAttributeDto) List of Custom Attributes | |
object (ProtocolCertificateAssociationsRequestDto) Associations to set for certificates issued by the protocol |
Responses
Request samples
- Payload
{- "description": "Sample description",
- "dnsResolverIp": "8.8.8.8",
- "dnsResolverPort": "53",
- "raProfileUuid": "6b55de1c-844f-11ec-a8a3-0242ac120002",
- "retryInterval": 60,
- "termsOfServiceChangeDisable": false,
- "validity": 3000,
- "issueCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "revokeCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "requireContact": true,
- "requireTermsOfService": false,
- "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "certificateAssociations": {
- "ownerUuid": "2f67a69d-7a41-4726-a25d-6a964681865a",
- "groupUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
]
}
}Response samples
- 200
- 400
- 403
- 404
{- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "description": "Sample description",
- "dnsResolverIp": "8.8.8.8",
- "dnsResolverPort": "53",
- "raProfile": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "authorityInstanceUuid": "string"
}, - "retryInterval": 30,
- "termsOfServiceChangeDisable": false,
- "validity": 36000,
- "requireContact": true,
- "requireTermsOfService": true,
- "issueCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "revokeCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "certificateAssociations": {
- "ownerUuid": "2f67a69d-7a41-4726-a25d-6a964681865a",
- "groupUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
]
}
}Response samples
- 200
- 400
- 403
[- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": false,
- "description": "Some description",
- "raProfile": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "enabled": true,
- "authorityInstanceUuid": "string"
},
}
]Create ACME Profile
Authorizations:
Request Body schema: application/jsonrequired
| name required | string Name of the ACME Profile |
| description | string Description of the ACME Profile |
| termsOfServiceUrl | string Terms of Service URL |
| websiteUrl | string Website URL |
| dnsResolverIp | string Default: "System Default" DNS Resolver IP address |
| dnsResolverPort | string Default: "53" DNS Resolver port number |
| raProfileUuid | string RA Profile UUID |
| retryInterval | integer <int32> Default: 30 Retry interval for the Orders |
| validity | integer <int32> Default: 36000 Order Validity |
required | Array of objects (RequestAttributeDto) List of Attributes to issue Certificate |
required | Array of objects (RequestAttributeDto) List of Attributes to revoke Certificate |
| requireContact | boolean Default: false Require contact information for new Account |
| requireTermsOfService | boolean Default: false Require new Account to agree on Terms of Service |
Array of objects (RequestAttributeDto) List of Custom Attributes | |
object (ProtocolCertificateAssociationsRequestDto) Associations to set for certificates issued by the protocol |
Responses
Request samples
- Payload
{- "name": "Profile Name 1",
- "description": "Sample description",
- "dnsResolverIp": "8.8.8.8",
- "dnsResolverPort": "53",
- "raProfileUuid": "6b55de1c-844f-11ec-a8a3-0242ac120002",
- "retryInterval": 60,
- "validity": 3000,
- "issueCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "revokeCertificateAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "requireContact": true,
- "requireTermsOfService": false,
- "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
], - "certificateAssociations": {
- "ownerUuid": "2f67a69d-7a41-4726-a25d-6a964681865a",
- "groupUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "customAttributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true
}
]
}
]
}
}Response samples
- 201
- 400
- 403
- 404
{- "uuid": "string"
}Enable multiple ACME Profiles
Authorizations:
Request Body schema: application/jsonrequired
ACME Profile UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 400
- 403
{- "message": "Error message"
}Disable multiple ACME Profile
Authorizations:
Request Body schema: application/jsonrequired
ACME Profile UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 400
- 403
{- "message": "Error message"
}Delete multiple ACME Profiles
Authorizations:
Request Body schema: application/jsonrequired
ACME Profile UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 200
- 400
- 403
[- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "message": "Object is associated with other items"
}
]Force delete multiple ACME Profiles
Authorizations:
Request Body schema: application/jsonrequired
ACME Profile UUIDs
Responses
Request samples
- Payload
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]Response samples
- 200
- 400
- 403
- 422
[- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "message": "Object is associated with other items"
}
]