Create profile
POST https://caas.digicert.com/automationws/v1/profile/createProfile
Use this endpoint to create an automation profile for certificate deployment.
This endpoint supports:
Configuring an automation profile for an ACME automation agent (agent-based automation).
Configuring a sensor profile to automate certificate requests on load balancers (agentless automation).
For more information, see Automation profiles.
Request parameters
Name | Req/Opt | Type | Description |
---|---|---|---|
name | required | string | Name of the automation profile. |
productType | required | string | Type of the product. Allowed values: See Glossary – Product identifiers. |
validityPeriod | required | string | Certificate validity. Allowed values: Example: Max value: 397 days |
signatureHash | optional | string | Hash type ID for the algorithm used to sign the certificate. Allowed values: See Glossary – Hash types. |
ctLogOption | optional | boolean | Use this option to enable CT logging for issued SSL certificates. |
organizationId | optional | integer | The ID of an existing organization to associate with the profile. To get the ID of organizations in your account, use the endpoint List organizations. |
organizationName | required | string | The name of the organization. |
keySizeAndAlgorithm | optional | string | The key size and algorithm used to sign the certificate. Allowed values: |
emailAddresses | optional | string | Email address for the contact associated with the automation profile. |
divisionId | required | integer | Division ID. |
isDefault | optional | boolean | If |
profileType | optional | string | Type of profile. Allowed values: |
accountId | required | string | Account ID. |
productName | optional | string | Name of the product. Allowed values: See Glossary – Product identifiers. |
contacts | optional | array | Object container for automation profile contacts. |
.. contactId | optional | integer | ID of existing user or contact for the account. This can be omitted if you are adding a new contact. To get the IDs for users in your account, use the endpoint User info. |
.. contactType | optional | string | Type of contact to add to the profile. Allowed values: |
.. contactName | optional | string | Name of the contact. |
autoRenewSettings | optional | object | Object with auto-renew settings. |
.. daysBeforeExpiry | optional | integer | Number of days before expiration to renew the certificate. Min: 1 day Max: Less than the certificate validity. |
.. isAutoReplace | optional | boolean | For a revoked or missing certificate, Default: |
canSignHttpExchangesExtension | optional | boolean | This parameter is used to issue certificates with "canSignHttpExchanges" extension. Note that this certificate profile option must be enabled for your account in order to use it for other certificates. For more information, See Get your Signed HTTP Exchanges certificate. |
customFields | optional* | array | Account-specific custom fields. *Whether or not these fields are required depends on your custom field settings. |
.. id | optional | integer | Custom field ID. |
.. value | optional | object | Value of the custom field. |
caCertId | optional* | string | ID of the CA certificate that should sign the certificate. *Required if multiple CA certificates are configured. Note: If not specified, the default CA certificate is used. |
caCertName | optional | string | Name of the CA certificate that should sign the certificate. |
Response parameters
Name | Type | Description |
---|---|---|
error | object | Object with error details. |
data | object | Object with response data. |
.. message | string | Message with details about successful creation. |
.. id | integer | Identification number for the profile. |