Skip to main content

Order X9 PKI for TLS

POST https://www.digicert.com/services/v2/order/certificate/x9_pki

Use this endpoint to request or renew an X9 PKI for TLS certificate. To renew a certificate, you must place the request from the same account used to order the original certificate.

Notice

The DigiCert X9 PKI for TLS certificate is a flexible certificate that supports any type of public FQDN and IP address configuration. However, the X9 PKI for TLS certificate does not support wildcard domains (*.example.com). For more information, see Flex certificates.

You can only order certificates that are enabled for your CertCentral account:

  • To enable DigiCert's X9 PKI for TLS certificate for your CertCentral account, contact your account manager or our DigiCert Support.

  • Use the Product list endpoint to get the list of products available for your account.

Example requests and responses

Request parameters

Name

Req/Opt

Type

Description

certificate

required

object

Certificate details.

.. common_name

required

string

Domain to be secured.

.. dns_names

optional

array

Additional domains to be secured. Can result in additional costs. (See Best practices – Get both versions of a domain for free.)

.. csr

required

string

Certificate signing request (CSR) or public key in PEM format. Format the CSR/public key as a base64-encoded string without line breaks or escape characters. Include the PEM headers and footers (such as -----BEGIN CERTIFICATE REQUEST-----... and ...-----END CERTIFICATE REQUEST-----). For more information about generating a CSR, see Create a CSR.

After placing the order, if the status of the order is pending, you can use the Update CSR endpoint to update the CSR. To check the status of the order, use the Order validation status endpoint.

Note: The Services API does not extract information from the CSR to fill in the details of a certificate request.

.. signature_hash

required

string

Hash algorithm used to signing the certificate.

Default: sha-256

Allowed values:: sha256, sha384, sha512.

.. server_platform

optional

object

Server platform type.

Default: -1 (other)

.. .. id

required

int

Server platform ID. See Glossary – Server platforms.

comments

optional

string

container

optional

object

If needed, specify the container the order should be placed under.

.. id

required

int

Container ID.

auto_renew

optional

int

Specify if the certificate should automatically renew.

Allowed values:0 (disabled), 1 (enabled)

Default: 0

custom_renewal_message

optional

string

Custom message to be included in renewal notifications.

renewal_of_order_id

optional*

int

If order is a renewal, enter the previous order's ID.

*Renewal orders must include either a renewed_thumbprint or renewal_of_order_id value.

.. key_usages

optional

array

Specify the key usages to include in your X9 PKI for TLS certificate:

  • digital_signature: Digital signature key usage allows a key to be used to create digital signatures that verify the identity of the signer. See RFC-3280. This key usage is always included in every X9 certificate and therefore need not be specified in the request.

  • key_agreement_encipherment: Key agreement encipherment key usage is used to encrypt keys that can then be used to decrypt data.

.. extended_key_usages

optional

array

Specify the EKUs to include in your X9 PKI for TLS certificate:

  • server_authentication: Server authentication secures websites using HTTPS.

  • client_authentication: Client authentication identifies who you are for host-to-host communications.

.. ca_cert_id

optional

string

ID of the intermediate certificate authority (ICA) certificate to select as the issuing certificate. To get the ca_cert_id value for an ICA, use the Product list endpoint.

Account administrators can customize the default and allowed ICAs for each product at the container or user role level. If you do not provide a value for this parameter, we issue the certificate using the default ICA. If you provide the ca_cert_id value for an ICA that is not allowed, the request returns an error*. To see the custom ICA settings for each product, use the Product limits endpoint.

*This parameter is ignored if the option for ICA selection is not enabled for your account. Learn more about the ICA certificate chain feature for your public TLS certificates.

renewed_thumbprint

optional*

string

If order is a renewal, enter the SHA-1 thumbprint of the previous order's primary certificate. For more information, see How to check a certificate's thumbprint.

*Renewal orders must include either a renewed_thumbprint or renewal_of_order_id value.

csa_agreed_to

required

boolean

Specify if the Certificate Subscriber Agreement (CSA) has been agreed to. Set his parameter to true to indicate agreement and false for disagreement.

Default: true

Allowed values: true or false.

promo_code

optional

string

Promotional code for the order.

dcv_method

optional

string

DCV method to use when verifying domain control. See Glossary – DCV methods.

certificate_dcv_scope

optional

string

skip_approval

optional

bool

Specify if the order should skip the approval step and be immediately submitted for validation and issued when complete.

Default: false

additional_emails

optional

array

Additional email addresses to receive certificate notification emails (e.g., certificate issuance, duplicate certificate, certificate renewals, etc.).

locale

optional

string

Language that the DCV email should use. See Glossary – Locale codes.

organization

required

object

Object with information about the organization to associate with the request. You can associate the request with an existing organization, or you can create a new organization when you submit the order request.

To associate the request with an existing organization, pass the ID of the organization as the value of organization.id in the body of your request. To create a new organization, include the details of the organization in the organization object. For more information about the structure and required parameters of the organization object, see the Create organization documentation.

Note: When you submit an order with organization details instead of providing an organization ID, we check the organizations that already exist in your account to avoid creating a duplicate.

  • If we find one matching organization, we automatically associate the order with that organization instead of creating a new one.

  • If we find two or more matching organizations, we automatically associate the order with the oldest matching organization in your account instead of creating a new one.

To override this behavior and force the request to create a new organization, set the organization.skip_duplicate_org_check parameter to true in the body of your request.

Important: When you want to associate an order with an existing organization, we recommend always using the ID of the organization instead of the organization's details in the body of your request. To get the ID values for organizations in your account, use the List organizations endpoint. Additionally, we recommend deactivating unused organizations to ensure they are never accidentally assigned to a new order request. To deactivate an organization, use the Deactivate organization endpoint.

.. id

required*

int

The ID of an existing organization to associate with the order. To get the ID of organizations in your account, use the List organizations endpoint.

*Not required if you are creating a new organization with your request.

.. contacts

conditional

array

.. .. contact_type

required

string

.. .. user_id

required*

int

ID of existing user or contact for the account.

*Can be omitted if adding a new contact.

.. .. first_name

optional

string

First name of the new contact.

Note: Required when omitting user_id. If user_id is not omitted, the specified user's information will be updated with the new value.

.. .. last_name

optional

string

Last name of the new contact.

Note: Required when omitting user_id. If user_id is not omitted, the specified user's information will be updated with the new value.

.. .. job_title

optional

string

Job title of the new contact.

Note: Required when omitting user_id. If user_id is not omitted, the specified user's information will be updated with the new value.

.. .. telephone

optional

string

Telephone number of the new contact.

Note: Required when omitting user_id. If user_id is not omitted, the specified user's information will be updated with the new value.

.. .. email

optional

string

Email address of the new contact.

Note: Required when omitting user_id. If user_id is not omitted, the specified user's information will be updated with the new value.

organization_contact

optional

object

Organization contact for the order.

Include this object at the root of the request body to create the order with a different organization contact than the one assigned to the organization on the request. If omitted, the order uses the same organization contact assigned to the organization.

Note: The order-level organization_contact is only used on the order. It does not replace the organization contact assigned to the organization on the request.

.. first_name

required

string

Contact first name.

.. last_name

required

string

Contact last name.

.. email

required

string

Contact email address.

.. job_title

optional

string

Contact job title.

.. telephone

optional

string

Contact telephone number.

technical_contact

optional

object

Technical contact for the order.

Include this object at the root of the request body to create the order with a different technical contact than the one assigned to the organization on the request. If omitted, the order uses the same technical contact assigned to the organization.

Note: The order-level technical_contact is only used on the order. It does not replace the technical contact assigned to the organization on the request.

.. first_name

required

string

Contact first name.

.. last_name

required

string

Contact last name.

.. email

required

string

Contact email address.

.. job_title

optional

string

Contact job title.

.. telephone

optional

string

Contact telephone number.

order_validity

required

object 

Defines the validity period of the order.

.. years 

required*

int 

Number of years the order is valid.

Max: 1

.. days 

optional

int 

Number of days the order is valid. Overrides order_validity.years.

Max: 397

.. custom_expiration_date 

optional

string 

Custom expiration date for the order. Overrides order_validity.days and order_validity.years.

Format: dd MMM YYYY (for example, "09 JUN 2025")

Range: Must be within 397 days of the date you request the order.

payment_method

optional

string

Payment method for the order. Allowed values:

  • balance (default): Pay with account balance. Returns an error if the option to bill to account balance is disabled for the account, or if the account balance has insufficient funds. Learn how to debit purchases against your CertCentral account balance.

  • profile: Pay with the account’s default credit card. Returns an error if no default credit card is configured for the account. Learn how to set up a default credit card.

  • card: Pay with a new credit card. Requests that use card as the payment method must include a credit_card and billing_address object. Returns an error if the option to pay with a credit card is disabled for the account.

credit_card

conditional

object

Object with information about the credit card charged for the order. Required if payment_method is card.

.. number

required

string

Credit card number.

.. expiration_month

required

integer

Credit card expiration month. Format as a two-digit number between 01 (Jan) and 12 (Dec).

.. expiration_year

required

integer

Credit card expiration year. Format as a four-digit number. For example: 2026

.. cvv

required

integer

Card verification value (CVV). Format as a three- or four-digit number. For example: 333 or 4444

.. cardholder_name

required

string

Cardholder’s first and last name.

billing_address

conditional

object

Object with information about the billing address. Required if payment_method is card.

.. address

required

string

Billing street address.

.. address2

optional

string

Continuation of street address.

.. city

required

string

Billing city.

.. state

conditional

string

Billing state or province. Optional for some countries.

.. country

required

string

Billing country.

.. zip

conditional

string

Billing zip or postal code. Optional for some countries.

vat_number

optional

string

Response parameters